Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 107.9 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7882/0.7882, allocations: 125.4 MB / 416.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 73.14 kB / 0.5716 GB, free: 27.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1258, allocations: 78.56 MB / 0.6483 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.001534/0.1274, allocations: 0.5093 MB / 0.6488 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.1275, allocations: 19.91 kB / 0.6489 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.1275, allocations: 0 / 0.6489 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.1276, allocations: 0 / 0.6489 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1277, allocations: 7.922 kB / 0.6489 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.186e-06/0.1277, allocations: 0 / 0.6489 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.04e-05/0.1278, allocations: 7.938 kB / 0.6489 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.1278, allocations: 8 kB / 0.6489 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.1278, allocations: 4 kB / 0.6489 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.316e-05/0.1279, allocations: 4 kB / 0.6489 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1279, allocations: 0 / 0.6489 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-06/0.1279, allocations: 0 / 0.6489 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.1279, allocations: 0 / 0.6489 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.1279, allocations: 11.92 kB / 0.6489 GB, free: 5.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.379e-05/0.128, allocations: 7.922 kB / 0.6489 GB, free: 5.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.128, allocations: 3.938 kB / 0.6489 GB, free: 5.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.128, allocations: 0 / 0.6489 GB, free: 5.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.128, allocations: 0 / 0.6489 GB, free: 5.055 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002846/0.1283, allocations: 313.7 kB / 0.6492 GB, free: 4.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1284, allocations: 12.03 kB / 0.6492 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1284, allocations: 38.75 kB / 0.6493 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.791e-05/0.1284, allocations: 0.9375 kB / 0.6493 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1285, allocations: 168.3 kB / 0.6494 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.1285, allocations: 384 / 0.6494 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.1286, allocations: 4.125 kB / 0.6494 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.814e-05/0.1286, allocations: 39.42 kB / 0.6495 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1287, allocations: 0 / 0.6495 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1287, allocations: 8 kB / 0.6495 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1287, allocations: 0 / 0.6495 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.441e-05/0.1287, allocations: 7.922 kB / 0.6495 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.1289, allocations: 154.5 kB / 0.6496 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.1289, allocations: 41.22 kB / 0.6497 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.129, allocations: 13.66 kB / 0.6497 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.129, allocations: 12.05 kB / 0.6497 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.129, allocations: 30.91 kB / 0.6497 GB, free: 4.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.129, allocations: 3.938 kB / 0.6497 GB, free: 4.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001273/0.1291, allocations: 41.64 kB / 0.6498 GB, free: 3.988 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1292, allocations: 81.11 kB / 0.6498 GB, free: 3.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.003e-05/0.1293, allocations: 98.09 kB / 0.6499 GB, free: 3.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1293, allocations: 25.7 kB / 0.65 GB, free: 3.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.1293, allocations: 84.14 kB / 0.65 GB, free: 3.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.1294, allocations: 3.953 kB / 0.65 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.1294, allocations: 13.72 kB / 0.65 GB, free: 3.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1295, allocations: 310.8 kB / 0.6503 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.1295, allocations: 4 kB / 0.6503 GB, free: 3.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.1295, allocations: 17.78 kB / 0.6504 GB, free: 3.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.1296, allocations: 21.77 kB / 0.6504 GB, free: 3.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1296, allocations: 4 kB / 0.6504 GB, free: 3.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.666e-05/0.1297, allocations: 45.58 kB / 0.6504 GB, free: 3.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1297, allocations: 4 kB / 0.6504 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1297, allocations: 0 / 0.6504 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1297, allocations: 0 / 0.6504 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.1298, allocations: 7.984 kB / 0.6504 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1298, allocations: 4.062 kB / 0.6504 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.1298, allocations: 4 kB / 0.6505 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1298, allocations: 4 kB / 0.6505 GB, free: 3.199 MB / 494.1 MB 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 6.898e-05/0.1299, allocations: 113.8 kB / 0.6506 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.1299, allocations: 7.938 kB / 0.6506 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.13, allocations: 48.75 kB / 0.6506 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.13, allocations: 4.062 kB / 0.6506 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.13, allocations: 0 / 0.6506 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1301, allocations: 3.984 kB / 0.6506 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.1302, allocations: 157.6 kB / 0.6508 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1302, allocations: 0 / 0.6508 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.1302, allocations: 4 kB / 0.6508 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1302, allocations: 0 / 0.6508 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.1302, allocations: 0 / 0.6508 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1302, allocations: 4 kB / 0.6508 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1302, allocations: 0 / 0.6508 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.022e-05/0.1303, allocations: 77.86 kB / 0.6509 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.1304, allocations: 77.11 kB / 0.6509 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1304, allocations: 7.938 kB / 0.6509 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.1304, allocations: 0 / 0.6509 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.1304, allocations: 3.984 kB / 0.6509 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.1304, allocations: 4 kB / 0.6509 GB, free: 2.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.1305, allocations: 79.31 kB / 0.651 GB, free: 2.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1305, allocations: 0 / 0.651 GB, free: 2.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.1307, allocations: 4 kB / 0.651 GB, free: 2.508 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.000361/0.131, allocations: 0.6092 MB / 0.6516 GB, free: 1.863 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.722e-05/0.1311, allocations: 12.12 kB / 0.6516 GB, free: 1.852 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1311, allocations: 0 / 0.6516 GB, free: 1.852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.1311, allocations: 11.94 kB / 0.6516 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1313, allocations: 1.875 kB / 0.6516 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.1315, allocations: 121.1 kB / 0.6518 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1318, allocations: 0.669 MB / 0.6524 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.744e-05/0.1318, allocations: 8.234 kB / 0.6524 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.1319, allocations: 11.44 kB / 0.6524 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1319, allocations: 0 / 0.6524 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1554/0.2873, allocations: 0.9096 MB / 0.6533 GB, free: 124 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.283, allocations: 11.84 kB / 0.6533 GB, free: 116 kB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)