Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_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.001316/0.001316, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001019/0.001019, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 267.2 kB / 291.2 MB, free: 1.891 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8107/0.8107, allocations: 144.6 MB / 487 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004522, allocations: 17.67 kB / 0.5684 GB, free: 38.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1467, allocations: 83.09 MB / 0.6495 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.0005347/0.1473, allocations: 243.8 kB / 0.6498 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 9.876e-05/0.1474, allocations: 11.92 kB / 0.6498 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.1475, allocations: 1.062 kB / 0.6498 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.1475, allocations: 4 kB / 0.6498 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.1476, allocations: 7.344 kB / 0.6498 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.886e-06/0.1476, allocations: 0 / 0.6498 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.418e-05/0.1477, allocations: 0 / 0.6498 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.1477, allocations: 0 / 0.6498 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.751e-05/0.1477, allocations: 4 kB / 0.6498 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.1478, allocations: 3.984 kB / 0.6498 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1478, allocations: 0 / 0.6498 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-06/0.1478, allocations: 0 / 0.6498 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-06/0.1478, allocations: 0 / 0.6498 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.1478, allocations: 25.7 kB / 0.6498 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 2.551e-05/0.1479, allocations: 0.5 kB / 0.6498 GB, free: 3.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1479, allocations: 0.6875 kB / 0.6498 GB, free: 3.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1479, allocations: 4 kB / 0.6498 GB, free: 3.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1479, allocations: 0.75 kB / 0.6498 GB, free: 3.246 MB / 446.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.0002285/0.1481, allocations: 314.5 kB / 0.6501 GB, free: 2.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1482, allocations: 8.094 kB / 0.6501 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.1482, allocations: 34.56 kB / 0.6502 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.1482, allocations: 0.5625 kB / 0.6502 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.1483, allocations: 168.8 kB / 0.6503 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1483, allocations: 5.25 kB / 0.6503 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.1483, allocations: 3.984 kB / 0.6503 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.55e-05/0.1484, allocations: 48 kB / 0.6504 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.1484, allocations: 0.5312 kB / 0.6504 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.1485, allocations: 0 / 0.6504 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1485, allocations: 0.5625 kB / 0.6504 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.1485, allocations: 10.09 kB / 0.6504 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.1486, allocations: 162.5 kB / 0.6505 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.1487, allocations: 41.75 kB / 0.6506 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.1487, allocations: 0.5 kB / 0.6506 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1487, allocations: 31.84 kB / 0.6506 GB, free: 2.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1487, allocations: 0.7188 kB / 0.6506 GB, free: 2.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.1489, allocations: 42.34 kB / 0.6507 GB, free: 2.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1489, allocations: 86.05 kB / 0.6507 GB, free: 2.109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.849e-05/0.149, allocations: 89.86 kB / 0.6508 GB, free: 2.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.149, allocations: 26.8 kB / 0.6508 GB, free: 1.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.149, allocations: 80.14 kB / 0.6509 GB, free: 1.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1491, allocations: 4.5 kB / 0.6509 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/0.1491, allocations: 0 / 0.6509 GB, free: 1.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.1492, allocations: 311.7 kB / 0.6512 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.1492, allocations: 4.75 kB / 0.6512 GB, free: 1.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.1492, allocations: 19.39 kB / 0.6512 GB, free: 1.555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.8e-05/0.1492, allocations: 4 kB / 0.6513 GB, free: 1.551 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1492, allocations: 0 / 0.6513 GB, free: 1.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.803e-05/0.1493, allocations: 42.41 kB / 0.6513 GB, free: 1.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1493, allocations: 10.53 kB / 0.6513 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1493, allocations: 0 / 0.6513 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.1493, allocations: 0 / 0.6513 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.1494, allocations: 7.984 kB / 0.6513 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1494, allocations: 0 / 0.6513 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.1494, allocations: 0 / 0.6513 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1494, allocations: 4 kB / 0.6513 GB, free: 1.484 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.1495, allocations: 114.9 kB / 0.6514 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.1495, allocations: 8.359 kB / 0.6514 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.1496, allocations: 45.94 kB / 0.6515 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1496, allocations: 9.125 kB / 0.6515 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1496, allocations: 0 / 0.6515 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1496, allocations: 0 / 0.6515 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.038e-05/0.1497, allocations: 150.4 kB / 0.6516 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1497, allocations: 4 kB / 0.6516 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.1498, allocations: 5.719 kB / 0.6516 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1498, allocations: 11.89 kB / 0.6516 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.1498, allocations: 0 / 0.6516 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1498, allocations: 0 / 0.6516 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1498, allocations: 0 / 0.6516 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.223e-05/0.1499, allocations: 82.8 kB / 0.6517 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.1499, allocations: 85.34 kB / 0.6518 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.1499, allocations: 0 / 0.6518 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.15, allocations: 2.625 kB / 0.6518 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.15, allocations: 3.938 kB / 0.6518 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.15, allocations: 4 kB / 0.6518 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.047e-05/0.15, allocations: 75.28 kB / 0.6519 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.15, allocations: 0 / 0.6519 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001712/0.1502, allocations: 0 / 0.6519 GB, free: 0.7969 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003156/0.1505, allocations: 0.6929 MB / 0.6526 GB, free: 68 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.316e-05/0.1506, allocations: 15.92 kB / 0.6526 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1506, allocations: 0 / 0.6526 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.776e-06/0.1506, allocations: 4 kB / 0.6526 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.271e-05/0.1507, allocations: 288 / 0.6526 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.151, allocations: 119 kB / 0.6527 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.1511, allocations: 0.677 MB / 0.6534 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.787e-05/0.1512, allocations: 3.984 kB / 0.6534 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.1512, allocations: 11.44 kB / 0.6534 GB, free: 15.17 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1512, allocations: 0 / 0.6534 GB, free: 15.17 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008849/0.1601, allocations: 0.733 MB / 0.6541 GB, free: 14.56 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.1603, allocations: 180.2 kB / 0.6543 GB, free: 14.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.758, allocations: 64 / 0.6543 GB, free: 14.33 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) Environment - environmentSimulation: