Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007485/0.0007485, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007559/0.0007559, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8342/0.8342, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001382/0.001382, allocations: 245.5 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.647/0.647, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6463 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.212e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001112/0.001134, allocations: 0.5512 MB / 0.6468 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.001267, allocations: 39.75 kB / 0.6468 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.001312, allocations: 0 / 0.6468 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.001339, allocations: 0 / 0.6468 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.001487, allocations: 8 kB / 0.6468 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.856e-05/0.001535, allocations: 7.938 kB / 0.6468 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.001593, allocations: 19.91 kB / 0.6469 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.001632, allocations: 0 / 0.6469 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.001681, allocations: 4 kB / 0.6469 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.001745, allocations: 11.98 kB / 0.6469 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.001765, allocations: 0 / 0.6469 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-06/0.001771, allocations: 0 / 0.6469 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.001817, allocations: 4 kB / 0.6469 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.001838, allocations: 3.938 kB / 0.6469 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 6.088e-05/0.001899, allocations: 15.91 kB / 0.6469 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.001903, allocations: 8 kB / 0.6469 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.041e-06/0.001904, allocations: 0 / 0.6469 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.001907, allocations: 0 / 0.6469 GB, free: 1.27 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003344/0.002242, allocations: 258.3 kB / 0.6472 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.002283, allocations: 9.938 kB / 0.6472 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.582e-05/0.002309, allocations: 30.75 kB / 0.6472 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.86e-05/0.002327, allocations: 0.9375 kB / 0.6472 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.002473, allocations: 113.8 kB / 0.6473 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.002482, allocations: 4.375 kB / 0.6473 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.0025, allocations: 4.359 kB / 0.6473 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.873e-05/0.002579, allocations: 38.2 kB / 0.6473 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.002586, allocations: 192 / 0.6473 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.002595, allocations: 384 / 0.6473 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.0026, allocations: 8.062 kB / 0.6474 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.002618, allocations: 7.984 kB / 0.6474 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.002744, allocations: 120.8 kB / 0.6475 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.177e-05/0.002786, allocations: 22.59 kB / 0.6475 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.002803, allocations: 9.625 kB / 0.6475 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.002817, allocations: 0 / 0.6475 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.002836, allocations: 34.5 kB / 0.6475 GB, free: 500 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.002837, allocations: 7.938 kB / 0.6476 GB, free: 492 kB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001234/0.00296, allocations: 41.69 kB / 0.6476 GB, free: 444 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.002988, allocations: 59.34 kB / 0.6476 GB, free: 372 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.003053, allocations: 109.8 kB / 0.6478 GB, free: 252 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.003062, allocations: 25.7 kB / 0.6478 GB, free: 220 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.003092, allocations: 84.12 kB / 0.6479 GB, free: 132 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.003114, allocations: 3.953 kB / 0.6479 GB, free: 128 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.003139, allocations: 17.72 kB / 0.6479 GB, free: 104 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.2217/0.2248, allocations: 312.9 kB / 0.6482 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.2249, allocations: 2.328 kB / 0.6482 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.2249, allocations: 19.88 kB / 0.6482 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.225, allocations: 23.47 kB / 0.6482 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.225, allocations: 3.375 kB / 0.6482 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.619e-05/0.225, allocations: 48.62 kB / 0.6483 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2251, allocations: 4.406 kB / 0.6483 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2251, allocations: 2.594 kB / 0.6483 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2251, allocations: 0 / 0.6483 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.2252, allocations: 8.797 kB / 0.6483 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2252, allocations: 1.219 kB / 0.6483 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.2252, allocations: 2.156 kB / 0.6483 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2252, allocations: 1.031 kB / 0.6483 GB, free: 56.75 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.559e-05/0.2253, allocations: 117 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.2253, allocations: 3.812 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.2254, allocations: 51.03 kB / 0.6485 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2254, allocations: 7.906 kB / 0.6485 GB, free: 56.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2254, allocations: 0 / 0.6485 GB, free: 56.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2254, allocations: 0 / 0.6485 GB, free: 56.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.037e-05/0.2254, allocations: 125.7 kB / 0.6486 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2254, allocations: 0.625 kB / 0.6486 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.2255, allocations: 4.641 kB / 0.6486 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2255, allocations: 5.391 kB / 0.6486 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2255, allocations: 0.75 kB / 0.6486 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2255, allocations: 5.875 kB / 0.6486 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2255, allocations: 2.25 kB / 0.6486 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.2256, allocations: 80.05 kB / 0.6487 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.2256, allocations: 6.781 kB / 0.6487 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.2256, allocations: 0.875 kB / 0.6487 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.2257, allocations: 7.297 kB / 0.6487 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.2257, allocations: 1.828 kB / 0.6487 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.2257, allocations: 2.375 kB / 0.6487 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.2257, allocations: 90.06 kB / 0.6488 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2257, allocations: 0 / 0.6488 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001152/0.2258, allocations: 4.438 kB / 0.6488 GB, free: 56.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001856/0.226, allocations: 0.6134 MB / 0.6494 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.2261, allocations: 14.62 kB / 0.6494 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2261, allocations: 0.625 kB / 0.6494 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.2261, allocations: 11.2 kB / 0.6494 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.2262, allocations: 8.188 kB / 0.6494 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.2268, allocations: 1.146 MB / 0.6505 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.2269, allocations: 63.73 kB / 0.6506 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.2269, allocations: 4.234 kB / 0.6506 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.227, allocations: 16.73 kB / 0.6506 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of SimCode: time 7.52e-07/0.227, allocations: 0 / 0.6506 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.2409, allocations: 1.853 MB / 0.6524 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.274/6.515, allocations: 7.875 kB / 0.6524 GB, free: 53.8 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.939390170387924] Failed to read output from testmodel.py, exit status != 0: 6.592858769930899 6.6030961040000005 6.599335184 Calling exit ...