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.0007929/0.000793, allocations: 92.31 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.0009353/0.0009353, 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.287/1.287, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001614/0.001614, allocations: 266.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.7874/0.7874, allocations: 144.7 MB / 487.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004532, allocations: 15.25 kB / 0.5686 GB, free: 38.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 83.09 MB / 0.6497 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.0005464/0.142, allocations: 251.8 kB / 0.65 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.1422, allocations: 35.41 kB / 0.65 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.1422, allocations: 0 / 0.65 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.1423, allocations: 0 / 0.65 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.822e-05/0.1424, allocations: 7.984 kB / 0.65 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.089e-05/0.1424, allocations: 7.938 kB / 0.65 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.043e-05/0.1425, allocations: 6.219 kB / 0.65 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.1425, allocations: 0 / 0.65 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.1426, allocations: 4 kB / 0.65 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.1427, allocations: 19.91 kB / 0.65 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1427, allocations: 0 / 0.65 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.1427, allocations: 0 / 0.65 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.1427, allocations: 4.594 kB / 0.65 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.1428, allocations: 25.7 kB / 0.6501 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.084e-05/0.1428, allocations: 9.234 kB / 0.6501 GB, free: 3.137 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1428, allocations: 0 / 0.6501 GB, free: 3.137 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1428, allocations: 0 / 0.6501 GB, free: 3.137 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1428, allocations: 0.6562 kB / 0.6501 GB, free: 3.137 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.0003461/0.1432, allocations: 327.8 kB / 0.6504 GB, free: 2.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1432, allocations: 8.625 kB / 0.6504 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.1433, allocations: 30.56 kB / 0.6504 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.096e-05/0.1433, allocations: 8.531 kB / 0.6504 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1435, allocations: 175.6 kB / 0.6506 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.1435, allocations: 0 / 0.6506 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1435, allocations: 1.375 kB / 0.6506 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.644e-05/0.1436, allocations: 37.67 kB / 0.6506 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1436, allocations: 1.281 kB / 0.6506 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.1436, allocations: 0 / 0.6506 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1436, allocations: 0 / 0.6506 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52e-05/0.1436, allocations: 4 kB / 0.6506 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.1438, allocations: 158.4 kB / 0.6508 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.606e-05/0.1438, allocations: 28.59 kB / 0.6508 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.1438, allocations: 8.922 kB / 0.6508 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.1438, allocations: 4 kB / 0.6508 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.1439, allocations: 31.22 kB / 0.6509 GB, free: 2.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1439, allocations: 0.75 kB / 0.6509 GB, free: 2.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.144, allocations: 42.62 kB / 0.6509 GB, free: 2.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.144, allocations: 51.41 kB / 0.6509 GB, free: 2.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.1441, allocations: 111.4 kB / 0.6511 GB, free: 1.938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.1441, allocations: 33.58 kB / 0.6511 GB, free: 1.898 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.1442, allocations: 84.14 kB / 0.6512 GB, free: 1.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.1442, allocations: 4.703 kB / 0.6512 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.1442, allocations: 4 kB / 0.6512 GB, free: 1.805 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.1443, allocations: 311.6 kB / 0.6515 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.1443, allocations: 4.875 kB / 0.6515 GB, free: 1.488 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.1443, allocations: 24.2 kB / 0.6515 GB, free: 1.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.1444, allocations: 4 kB / 0.6515 GB, free: 1.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1444, allocations: 3.953 kB / 0.6515 GB, free: 1.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.957e-05/0.1444, allocations: 45.62 kB / 0.6515 GB, free: 1.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1445, allocations: 4.688 kB / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1445, allocations: 0 / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.1445, allocations: 1.875 kB / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/0.1446, allocations: 4.25 kB / 0.6516 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1446, allocations: 3.938 kB / 0.6516 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.1446, allocations: 8 kB / 0.6516 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1446, allocations: 7.984 kB / 0.6516 GB, free: 1.375 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.051e-05/0.1447, allocations: 111.7 kB / 0.6517 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.1447, allocations: 7.859 kB / 0.6517 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.753e-05/0.1448, allocations: 53.44 kB / 0.6517 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1448, allocations: 5.719 kB / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1448, allocations: 0 / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1448, allocations: 0 / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.606e-05/0.1449, allocations: 157.7 kB / 0.6519 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1449, allocations: 3.984 kB / 0.6519 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.145, allocations: 8.578 kB / 0.6519 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.145, allocations: 0 / 0.6519 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.145, allocations: 1.406 kB / 0.6519 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.145, allocations: 0 / 0.6519 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.145, allocations: 0 / 0.6519 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.1451, allocations: 78.55 kB / 0.652 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.1452, allocations: 83.77 kB / 0.6521 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1452, allocations: 3.953 kB / 0.6521 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.1452, allocations: 4.031 kB / 0.6521 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.1452, allocations: 3.938 kB / 0.6521 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1452, allocations: 0 / 0.6521 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.1453, allocations: 91.27 kB / 0.6522 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1453, allocations: 1.781 kB / 0.6522 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000178/0.1455, allocations: 0 / 0.6522 GB, free: 0.6836 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.0003274/0.1458, allocations: 0.6062 MB / 0.6528 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.1459, allocations: 27.86 kB / 0.6528 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1459, allocations: 0 / 0.6528 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.1459, allocations: 4 kB / 0.6528 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1461, allocations: 7.953 kB / 0.6528 GB, free: 8 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.1466, allocations: 383.8 kB / 0.6532 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.1468, allocations: 0.6848 MB / 0.6538 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.468e-05/0.1468, allocations: 0 / 0.6538 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.1468, allocations: 19.42 kB / 0.6538 GB, free: 14.85 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1468, allocations: 0 / 0.6538 GB, free: 14.85 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.157, allocations: 0.9902 MB / 0.6548 GB, free: 14 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.1572, allocations: 186.8 kB / 0.655 GB, free: 13.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.726, allocations: 3.938 kB / 0.655 GB, free: 13.75 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: