Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 103.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002345/0.002345, allocations: 283.3 kB / 303 MB, free: 3.645 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 180.9 MB / 0.5261 GB, free: 2.789 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 100.1 kB / 0.7248 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5247/0.5275, allocations: 94.17 MB / 0.8167 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002386/0.5298, allocations: 1.622 MB / 0.8183 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.5306, allocations: 0.5047 MB / 0.8188 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.5307, allocations: 1.688 kB / 0.8188 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.5308, allocations: 12.67 kB / 0.8188 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.091e-05/0.5308, allocations: 9.188 kB / 0.8188 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.5311, allocations: 45.56 kB / 0.8189 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.5312, allocations: 80.22 kB / 0.8189 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.5314, allocations: 32.56 kB / 0.819 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.5314, allocations: 45.48 kB / 0.819 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.5315, allocations: 38.89 kB / 0.8191 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.5316, allocations: 6.094 kB / 0.8191 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.651e-05/0.5316, allocations: 9.156 kB / 0.8191 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.5317, allocations: 32.22 kB / 0.8191 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.5317, allocations: 37.98 kB / 0.8191 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.5319, allocations: 88.8 kB / 0.8192 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5319, allocations: 0.9375 kB / 0.8192 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5319, allocations: 0 / 0.8192 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.5319, allocations: 0 / 0.8192 GB, free: 5.457 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000484/0.5324, allocations: 398.1 kB / 0.8196 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5324, allocations: 12.61 kB / 0.8196 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.5324, allocations: 38.16 kB / 0.8197 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.5325, allocations: 13.77 kB / 0.8197 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.5326, allocations: 205.1 kB / 0.8199 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5326, allocations: 6.438 kB / 0.8199 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.5327, allocations: 4.656 kB / 0.8199 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.5329, allocations: 109.7 kB / 0.82 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5329, allocations: 0 / 0.82 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5329, allocations: 0 / 0.82 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.5329, allocations: 5.422 kB / 0.82 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.5332, allocations: 99.08 kB / 0.8201 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.5337, allocations: 376.1 kB / 0.8204 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.5338, allocations: 60.95 kB / 0.8205 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.5339, allocations: 49.8 kB / 0.8205 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.534, allocations: 4.469 kB / 0.8205 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.534, allocations: 36.62 kB / 0.8206 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.534, allocations: 0 / 0.8206 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004389/0.5344, allocations: 161.9 kB / 0.8207 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.5344, allocations: 61.12 kB / 0.8208 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.5345, allocations: 135 kB / 0.8209 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.5345, allocations: 27.27 kB / 0.8209 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.5346, allocations: 107.1 kB / 0.821 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.5346, allocations: 22.33 kB / 0.8211 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.5346, allocations: 18.06 kB / 0.8211 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.5347, allocations: 317.1 kB / 0.8214 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.5348, allocations: 43.91 kB / 0.8214 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.901e-05/0.5349, allocations: 38.27 kB / 0.8215 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.5351, allocations: 89.39 kB / 0.8216 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5351, allocations: 1.156 kB / 0.8216 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002398/0.5353, allocations: 129.6 kB / 0.8217 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5353, allocations: 10.53 kB / 0.8217 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.5353, allocations: 1.062 kB / 0.8217 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5354, allocations: 3.938 kB / 0.8217 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.5355, allocations: 27.47 kB / 0.8217 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5355, allocations: 1.062 kB / 0.8217 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.5356, allocations: 9.172 kB / 0.8217 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.5356, allocations: 5.641 kB / 0.8217 GB, free: 3.441 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.5356, allocations: 119.9 kB / 0.8218 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.5357, allocations: 12.02 kB / 0.8219 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.536, allocations: 140.7 kB / 0.822 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.536, allocations: 9.031 kB / 0.822 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.536, allocations: 1.156 kB / 0.822 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.536, allocations: 0.6562 kB / 0.822 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.5362, allocations: 207 kB / 0.8222 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5362, allocations: 1.531 kB / 0.8222 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.5362, allocations: 17.55 kB / 0.8222 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5362, allocations: 4.906 kB / 0.8222 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.5363, allocations: 2.062 kB / 0.8222 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5363, allocations: 4.812 kB / 0.8222 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5363, allocations: 0 / 0.8222 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.5365, allocations: 222.4 kB / 0.8224 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.5366, allocations: 81.67 kB / 0.8225 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.5366, allocations: 5.812 kB / 0.8225 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.5367, allocations: 12.06 kB / 0.8225 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.5367, allocations: 17.12 kB / 0.8226 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.5367, allocations: 5.062 kB / 0.8226 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.083e-05/0.5368, allocations: 103.4 kB / 0.8227 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5368, allocations: 3.938 kB / 0.8227 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002234/0.537, allocations: 17.73 kB / 0.8227 GB, free: 2.656 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004167/0.5374, allocations: 0.7603 MB / 0.8234 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.5377, allocations: 98.8 kB / 0.8235 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5377, allocations: 0 / 0.8235 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.5378, allocations: 49.97 kB / 0.8236 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.538, allocations: 10.53 kB / 0.8236 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.5396, allocations: 1.595 MB / 0.8251 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.5399, allocations: 0.7022 MB / 0.8258 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.5401, allocations: 20.22 kB / 0.8258 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.5401, allocations: 31.62 kB / 0.8259 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.5401, allocations: 0 / 0.8259 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.5637, allocations: 2.033 MB / 0.8278 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.456, allocations: 16.91 kB / 0.8279 GB, free: 15.47 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.420200660359114] Failed to read output from testmodel.py, exit status != 0: 8.524390840902925 8.544296865 8.008517348 Calling exit ...