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.0008268/0.0008269, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009563/0.0009565, allocations: 172.7 kB / 15.95 MB, free: 208 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.3/1.3, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001675/0.001675, allocations: 271.1 kB / 291.3 MB, free: 1.906 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.8052/0.8052, allocations: 144.7 MB / 487.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004155, allocations: 14.53 kB / 0.5686 GB, free: 38.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 83.1 MB / 0.6497 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.0005283/0.129, allocations: 231.9 kB / 0.6499 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001015/0.1291, allocations: 11.98 kB / 0.6499 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.1292, allocations: 0 / 0.6499 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.1292, allocations: 4 kB / 0.65 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.953e-05/0.1293, allocations: 8.484 kB / 0.65 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.765e-06/0.1293, allocations: 0.5312 kB / 0.65 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.198e-05/0.1293, allocations: 0 / 0.65 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.1294, allocations: 0.5312 kB / 0.65 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.273e-05/0.1294, allocations: 4.656 kB / 0.65 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.1294, allocations: 0 / 0.65 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.1295, allocations: 1.844 kB / 0.65 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.25e-06/0.1295, allocations: 0 / 0.65 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-06/0.1295, allocations: 7.922 kB / 0.65 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.1295, allocations: 29.64 kB / 0.65 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 2.25e-05/0.1295, allocations: 0 / 0.65 GB, free: 3.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1295, allocations: 5.188 kB / 0.65 GB, free: 3.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1295, allocations: 0 / 0.65 GB, free: 3.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1295, allocations: 0 / 0.65 GB, free: 3.168 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.0002096/0.1298, allocations: 314.5 kB / 0.6503 GB, free: 2.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1298, allocations: 12.09 kB / 0.6503 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.1298, allocations: 30.56 kB / 0.6503 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.562e-05/0.1299, allocations: 0 / 0.6503 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.766e-05/0.1299, allocations: 163.9 kB / 0.6505 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.13, allocations: 3.938 kB / 0.6505 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.13, allocations: 0.7188 kB / 0.6505 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1301, allocations: 48.66 kB / 0.6506 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1302, allocations: 0 / 0.6506 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-06/0.1302, allocations: 4.594 kB / 0.6506 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1302, allocations: 7.984 kB / 0.6506 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.778e-05/0.1302, allocations: 0.5312 kB / 0.6506 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.1303, allocations: 163.6 kB / 0.6507 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.191e-05/0.1304, allocations: 39.19 kB / 0.6508 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.1304, allocations: 9.719 kB / 0.6508 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1304, allocations: 1.312 kB / 0.6508 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1305, allocations: 38.62 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1305, allocations: 0.75 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001154/0.1306, allocations: 43.72 kB / 0.6508 GB, free: 2.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.1307, allocations: 77.11 kB / 0.6509 GB, free: 2.023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.135e-05/0.1308, allocations: 93.86 kB / 0.651 GB, free: 1.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1308, allocations: 26.36 kB / 0.651 GB, free: 1.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.1308, allocations: 84.14 kB / 0.6511 GB, free: 1.805 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.1308, allocations: 4.656 kB / 0.6511 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.1308, allocations: 0 / 0.6511 GB, free: 1.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.1309, allocations: 311.9 kB / 0.6514 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-06/0.1309, allocations: 0 / 0.6514 GB, free: 1.488 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.131, allocations: 23.17 kB / 0.6514 GB, free: 1.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.031e-05/0.131, allocations: 8.875 kB / 0.6515 GB, free: 1.453 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.131, allocations: 0 / 0.6515 GB, free: 1.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.517e-05/0.1311, allocations: 38.38 kB / 0.6515 GB, free: 1.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1311, allocations: 6.469 kB / 0.6515 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1311, allocations: 4 kB / 0.6515 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.1311, allocations: 4 kB / 0.6515 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.1312, allocations: 7.922 kB / 0.6515 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1312, allocations: 4 kB / 0.6515 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.1312, allocations: 3.938 kB / 0.6515 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1312, allocations: 0.6562 kB / 0.6515 GB, free: 1.383 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 6.75e-05/0.1313, allocations: 115.8 kB / 0.6516 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.1313, allocations: 7.859 kB / 0.6516 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/0.1314, allocations: 49.44 kB / 0.6517 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1314, allocations: 3.938 kB / 0.6517 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1314, allocations: 0.875 kB / 0.6517 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1314, allocations: 4 kB / 0.6517 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.1315, allocations: 146.4 kB / 0.6518 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1315, allocations: 0 / 0.6518 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.1315, allocations: 5.406 kB / 0.6518 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1316, allocations: 3.953 kB / 0.6518 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.1316, allocations: 0 / 0.6518 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1316, allocations: 4 kB / 0.6518 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1316, allocations: 0.9062 kB / 0.6518 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.735e-05/0.1317, allocations: 71.64 kB / 0.6519 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.1317, allocations: 77.39 kB / 0.652 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.1317, allocations: 8.578 kB / 0.652 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.1317, allocations: 4.594 kB / 0.652 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.1317, allocations: 2.688 kB / 0.652 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1318, allocations: 0 / 0.652 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.243e-05/0.1318, allocations: 75.28 kB / 0.6521 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1318, allocations: 4 kB / 0.6521 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.132, allocations: 0 / 0.6521 GB, free: 0.7188 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.0003483/0.1323, allocations: 0.6083 MB / 0.6527 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.763e-05/0.1324, allocations: 12.55 kB / 0.6527 GB, free: 68 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1324, allocations: 4 kB / 0.6527 GB, free: 64 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.1324, allocations: 4.062 kB / 0.6527 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1326, allocations: 13.61 kB / 0.6527 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.1328, allocations: 115.4 kB / 0.6528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.133, allocations: 0.6692 MB / 0.6535 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.554e-05/0.1331, allocations: 7.938 kB / 0.6535 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.1331, allocations: 7.438 kB / 0.6535 GB, free: 15.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1331, allocations: 4.125 kB / 0.6535 GB, free: 15.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008909/0.142, allocations: 0.7505 MB / 0.6542 GB, free: 14.55 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.1422, allocations: 188.8 kB / 0.6544 GB, free: 14.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.713, allocations: 0 / 0.6544 GB, free: 14.32 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: