Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",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.00096/0.00096, allocations: 99.47 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.0009969/0.000997, 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.28/1.28, allocations: 223.2 MB / 239.9 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.001679/0.001678, allocations: 270.9 kB / 291.2 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.7751/0.7751, allocations: 144.6 MB / 487 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004138, allocations: 15 kB / 0.5684 GB, free: 38.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 83.09 MB / 0.6495 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.118/0.2529, allocations: 114.8 MB / 0.7617 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3383/0.5912, allocations: 19.7 MB / 0.7809 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.5914, allocations: 5.062 kB / 0.7809 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.5917, allocations: 40.36 kB / 0.781 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.5919, allocations: 80.31 kB / 0.781 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01374/0.6057, allocations: 5.13 MB / 0.786 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.606, allocations: 160.6 kB / 0.7862 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.834e-05/0.6061, allocations: 12 kB / 0.7862 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.6064, allocations: 125.4 kB / 0.7863 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.6065, allocations: 78.02 kB / 0.7864 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.6065, allocations: 9.875 kB / 0.7864 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02312/0.6296, allocations: 10.68 MB / 0.7968 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.6298, allocations: 33.06 kB / 0.7969 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.63, allocations: 55.42 kB / 0.7969 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008856/0.6389, allocations: 4.083 MB / 0.8009 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.6389, allocations: 0 / 0.8009 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6389, allocations: 4 kB / 0.8009 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.6389, allocations: 0 / 0.8009 GB, free: 17.25 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004369/0.6433, allocations: 1.152 MB / 0.802 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.6433, allocations: 9.188 kB / 0.8021 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.555e-05/0.6434, allocations: 51.94 kB / 0.8021 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.6445, allocations: 86.94 kB / 0.8022 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.6448, allocations: 226.2 kB / 0.8024 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.6448, allocations: 17.94 kB / 0.8024 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.6448, allocations: 13.28 kB / 0.8024 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.6458, allocations: 447.2 kB / 0.8029 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6458, allocations: 0 / 0.8029 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.6458, allocations: 19 kB / 0.8029 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6458, allocations: 7.172 kB / 0.8029 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009977/0.6468, allocations: 0.5946 MB / 0.8035 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.6477, allocations: 0.8998 MB / 0.8043 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.6484, allocations: 247.5 kB / 0.8046 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08251/0.7309, allocations: 35.37 MB / 0.8391 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.731, allocations: 37.09 kB / 0.8392 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 2.013e-06/0.731, allocations: 0 / 0.8392 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001524/0.7325, allocations: 414.2 kB / 0.8396 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7326, allocations: 57.16 kB / 0.8396 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.7327, allocations: 143.4 kB / 0.8397 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.7327, allocations: 37.03 kB / 0.8398 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.7328, allocations: 103 kB / 0.8399 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.7329, allocations: 87.58 kB / 0.84 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.7329, allocations: 4.938 kB / 0.84 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.733, allocations: 324.4 kB / 0.8403 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.7331, allocations: 81.91 kB / 0.8404 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.7333, allocations: 126.7 kB / 0.8405 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.7335, allocations: 89.8 kB / 0.8406 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7335, allocations: 6.922 kB / 0.8406 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005844/0.7341, allocations: 303.5 kB / 0.8409 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.7341, allocations: 11.28 kB / 0.8409 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7341, allocations: 3.062 kB / 0.8409 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.7341, allocations: 2.781 kB / 0.8409 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.7344, allocations: 80.75 kB / 0.8409 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7344, allocations: 2.219 kB / 0.841 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.7346, allocations: 21.72 kB / 0.841 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.7346, allocations: 30.36 kB / 0.841 GB, free: 6.719 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.000117/0.7348, allocations: 127.5 kB / 0.8411 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.7349, allocations: 17.42 kB / 0.8411 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.7368, allocations: 2.35 MB / 0.8434 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.7368, allocations: 10.33 kB / 0.8434 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7368, allocations: 2.875 kB / 0.8434 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.7368, allocations: 0 / 0.8434 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.7394, allocations: 3.436 MB / 0.8468 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7394, allocations: 0 / 0.8468 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.7397, allocations: 53.67 kB / 0.8469 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.7397, allocations: 4 kB / 0.8469 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.7397, allocations: 6.312 kB / 0.8469 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.7397, allocations: 7.984 kB / 0.8469 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7397, allocations: 0 / 0.8469 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.7404, allocations: 0.5426 MB / 0.8474 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.7405, allocations: 147.3 kB / 0.8475 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.7405, allocations: 7.25 kB / 0.8475 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.7408, allocations: 20.98 kB / 0.8476 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.7408, allocations: 22.97 kB / 0.8476 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.7408, allocations: 11.62 kB / 0.8476 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.7409, allocations: 107.5 kB / 0.8477 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7409, allocations: 0 / 0.8477 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005938/0.7468, allocations: 1.62 MB / 0.8493 GB, free: 2.051 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01472/0.7616, allocations: 2.887 MB / 0.8521 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000947/0.7626, allocations: 321.6 kB / 0.8524 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7626, allocations: 4 kB / 0.8524 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.7631, allocations: 243 kB / 0.8526 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.7638, allocations: 57.7 kB / 0.8527 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00732/0.7712, allocations: 2.781 MB / 0.8554 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.7716, allocations: 0.7742 MB / 0.8562 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008779/0.7725, allocations: 405.8 kB / 0.8566 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.7728, allocations: 100.9 kB / 0.8567 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/0.7728, allocations: 0 / 0.8567 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/0.8907, allocations: 61.4 MB / 0.9166 GB, free: 14.04 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.8909, allocations: 186.6 kB / 0.9168 GB, free: 13.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.453/6.344, allocations: 0 / 0.9168 GB, free: 13.79 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: