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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 97.91 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.001151/0.001151, 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.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 262.9 kB / 291.2 MB, free: 2.02 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.7929/0.7929, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004065, allocations: 14.97 kB / 0.5684 GB, free: 38.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 83.09 MB / 0.6495 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.0005674/0.1373, allocations: 247.8 kB / 0.6498 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000144/0.1375, allocations: 39.89 kB / 0.6498 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.1375, allocations: 6.094 kB / 0.6498 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.1376, allocations: 3.938 kB / 0.6498 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.78e-05/0.1377, allocations: 0 / 0.6498 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.201e-05/0.1377, allocations: 0 / 0.6498 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.1378, allocations: 11.97 kB / 0.6498 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.1378, allocations: 1.906 kB / 0.6498 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.1378, allocations: 4 kB / 0.6498 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.1379, allocations: 16.58 kB / 0.6498 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1379, allocations: 0 / 0.6498 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-06/0.138, allocations: 0.5312 kB / 0.6498 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.138, allocations: 4.594 kB / 0.6498 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.138, allocations: 25.7 kB / 0.6499 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 2.934e-05/0.138, allocations: 8.469 kB / 0.6499 GB, free: 3.184 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.1381, allocations: 0.625 kB / 0.6499 GB, free: 3.184 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1381, allocations: 0 / 0.6499 GB, free: 3.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1381, allocations: 1.5 kB / 0.6499 GB, free: 3.184 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003307/0.1384, allocations: 327.3 kB / 0.6502 GB, free: 2.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1384, allocations: 9.188 kB / 0.6502 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.1385, allocations: 34.5 kB / 0.6502 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.907e-05/0.1385, allocations: 4 kB / 0.6502 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1387, allocations: 175.8 kB / 0.6504 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-06/0.1387, allocations: 0 / 0.6504 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1387, allocations: 4.531 kB / 0.6504 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.388e-05/0.1388, allocations: 35.2 kB / 0.6504 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/0.1388, allocations: 0 / 0.6504 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.1388, allocations: 0 / 0.6504 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1388, allocations: 0 / 0.6504 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.1388, allocations: 8.641 kB / 0.6505 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.139, allocations: 154.4 kB / 0.6506 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.554e-05/0.139, allocations: 23.14 kB / 0.6506 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.139, allocations: 4.969 kB / 0.6506 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.1391, allocations: 32.09 kB / 0.6507 GB, free: 2.227 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1391, allocations: 0 / 0.6507 GB, free: 2.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001124/0.1392, allocations: 45.66 kB / 0.6507 GB, free: 2.176 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.1392, allocations: 52.12 kB / 0.6508 GB, free: 2.113 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/0.1393, allocations: 105.8 kB / 0.6509 GB, free: 2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.1393, allocations: 26.95 kB / 0.6509 GB, free: 1.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.1393, allocations: 92.12 kB / 0.651 GB, free: 1.875 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.1394, allocations: 0.7188 kB / 0.651 GB, free: 1.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-06/0.1394, allocations: 0 / 0.651 GB, free: 1.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.1395, allocations: 311.7 kB / 0.6513 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.1395, allocations: 8 kB / 0.6513 GB, free: 1.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.1395, allocations: 24.11 kB / 0.6513 GB, free: 1.527 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/0.1395, allocations: 4 kB / 0.6513 GB, free: 1.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1395, allocations: 0 / 0.6513 GB, free: 1.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.35e-05/0.1396, allocations: 50.48 kB / 0.6513 GB, free: 1.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1396, allocations: 5.719 kB / 0.6514 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1396, allocations: 3.938 kB / 0.6514 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1396, allocations: 7.938 kB / 0.6514 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.1397, allocations: 0 / 0.6514 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1397, allocations: 4 kB / 0.6514 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.1398, allocations: 4.672 kB / 0.6514 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1398, allocations: 3.984 kB / 0.6514 GB, free: 1.441 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.975e-05/0.1398, allocations: 111 kB / 0.6515 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.1398, allocations: 8.609 kB / 0.6515 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.637e-05/0.1399, allocations: 54.47 kB / 0.6515 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1399, allocations: 0 / 0.6515 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.14, allocations: 0 / 0.6515 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.14, allocations: 3.984 kB / 0.6515 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.084e-05/0.1401, allocations: 154.3 kB / 0.6517 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1401, allocations: 3.938 kB / 0.6517 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.1401, allocations: 9.625 kB / 0.6517 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1401, allocations: 3.953 kB / 0.6517 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1401, allocations: 8 kB / 0.6517 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1401, allocations: 0.875 kB / 0.6517 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1401, allocations: 0 / 0.6517 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.1403, allocations: 75.98 kB / 0.6518 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.1403, allocations: 81.02 kB / 0.6519 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1403, allocations: 7.984 kB / 0.6519 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.1403, allocations: 0 / 0.6519 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.1404, allocations: 0 / 0.6519 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1404, allocations: 1.656 kB / 0.6519 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.279e-05/0.1404, allocations: 91.27 kB / 0.652 GB, free: 0.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1404, allocations: 0 / 0.652 GB, free: 0.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001752/0.1406, allocations: 4 kB / 0.652 GB, free: 0.7461 MB / 446.1 MB 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 (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.0003009/0.1409, allocations: 0.6144 MB / 0.6526 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.034e-05/0.141, allocations: 11.98 kB / 0.6526 GB, free: 92 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.141, allocations: 0 / 0.6526 GB, free: 92 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/0.141, allocations: 11.94 kB / 0.6526 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.379e-05/0.1411, allocations: 7.953 kB / 0.6526 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.1416, allocations: 0.5142 MB / 0.6531 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.1418, allocations: 0.6848 MB / 0.6538 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.55e-05/0.1419, allocations: 4 kB / 0.6538 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.1419, allocations: 11.44 kB / 0.6538 GB, free: 14.78 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1419, allocations: 0 / 0.6538 GB, free: 14.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01025/0.1522, allocations: 0.9873 MB / 0.6547 GB, free: 13.92 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.1523, allocations: 181.6 kB / 0.6549 GB, free: 13.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/1.71, allocations: 0 / 0.6549 GB, free: 13.68 MB / 462.1 MB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) Environment - environmentSimulation: