Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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.0008975/0.0008974, allocations: 98.44 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.001079/0.001079, allocations: 177.3 kB / 15.95 MB, free: 216 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.322/1.322, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 262.6 kB / 291.2 MB, free: 2.012 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.8134/0.8134, allocations: 144.6 MB / 487 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004077, allocations: 12.03 kB / 0.5684 GB, free: 38.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 83.09 MB / 0.6495 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001273/0.1596, allocations: 0.9681 MB / 0.6505 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004837/0.1601, allocations: 266.7 kB / 0.6507 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1601, allocations: 0 / 0.6507 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.1602, allocations: 0.5625 kB / 0.6507 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.1602, allocations: 6.391 kB / 0.6507 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1604, allocations: 35.94 kB / 0.6508 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.1605, allocations: 19.95 kB / 0.6508 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1606, allocations: 4 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.1606, allocations: 11.34 kB / 0.6508 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.1606, allocations: 4 kB / 0.6508 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1607, allocations: 0 / 0.6508 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1608, allocations: 63.88 kB / 0.6509 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.1608, allocations: 0 / 0.6509 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.1608, allocations: 33.64 kB / 0.6509 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.52e-05/0.1609, allocations: 27.97 kB / 0.6509 GB, free: 2.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1609, allocations: 0 / 0.6509 GB, free: 2.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.161, allocations: 0 / 0.6509 GB, free: 2.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.161, allocations: 0 / 0.6509 GB, free: 2.023 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003284/0.1613, allocations: 332.5 kB / 0.6513 GB, free: 1.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1613, allocations: 12.66 kB / 0.6513 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.1614, allocations: 34.55 kB / 0.6513 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.1616, allocations: 21.14 kB / 0.6513 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.1617, allocations: 163.8 kB / 0.6515 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1617, allocations: 4 kB / 0.6515 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1617, allocations: 4.5 kB / 0.6515 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1619, allocations: 42.22 kB / 0.6515 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1619, allocations: 2.281 kB / 0.6515 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1619, allocations: 3.984 kB / 0.6515 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1619, allocations: 4 kB / 0.6515 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.1619, allocations: 15.94 kB / 0.6515 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1621, allocations: 157.6 kB / 0.6517 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.1639, allocations: 274.3 kB / 0.652 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.1639, allocations: 8.547 kB / 0.652 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1639, allocations: 31.38 kB / 0.652 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1639, allocations: 0 / 0.652 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001624/0.1641, allocations: 67.41 kB / 0.6521 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.1641, allocations: 51.41 kB / 0.6521 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/0.1642, allocations: 93.84 kB / 0.6522 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1642, allocations: 31.83 kB / 0.6522 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/0.1643, allocations: 88.08 kB / 0.6523 GB, free: 432 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.1643, allocations: 11.75 kB / 0.6523 GB, free: 420 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.1643, allocations: 0 / 0.6523 GB, free: 420 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.1644, allocations: 311.5 kB / 0.6526 GB, free: 100 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.1644, allocations: 15.98 kB / 0.6526 GB, free: 84 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.1644, allocations: 8.875 kB / 0.6526 GB, free: 76 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/0.1645, allocations: 8 kB / 0.6527 GB, free: 68 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1645, allocations: 0.8125 kB / 0.6527 GB, free: 68 kB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.304e-05/0.1646, allocations: 61.58 kB / 0.6527 GB, free: 0 / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.1646, allocations: 6.797 kB / 0.6527 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1646, allocations: 0 / 0.6527 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1646, allocations: 0 / 0.6527 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.1647, allocations: 12.69 kB / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1647, allocations: 2.094 kB / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.1647, allocations: 0 / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.1647, allocations: 0 / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.653e-05/0.1648, allocations: 113.8 kB / 0.6528 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.1648, allocations: 7.953 kB / 0.6529 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.1649, allocations: 4.156 kB / 0.6529 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1649, allocations: 0.8438 kB / 0.6529 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1649, allocations: 0 / 0.6529 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1649, allocations: 7.438 kB / 0.6529 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.793e-05/0.165, allocations: 157.7 kB / 0.653 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.165, allocations: 0 / 0.653 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.165, allocations: 4 kB / 0.653 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.165, allocations: 3.953 kB / 0.653 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1651, allocations: 7.938 kB / 0.653 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1651, allocations: 3.938 kB / 0.653 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1651, allocations: 0 / 0.653 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.934e-05/0.1652, allocations: 77.69 kB / 0.6531 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.1652, allocations: 82.16 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1653, allocations: 7.953 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.1653, allocations: 4.125 kB / 0.6532 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.1653, allocations: 4 kB / 0.6532 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1653, allocations: 0 / 0.6532 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.757e-05/0.1654, allocations: 79.28 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1654, allocations: 0 / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001733/0.1656, allocations: 7.984 kB / 0.6533 GB, free: 15.33 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.000322/0.1659, allocations: 0.6168 MB / 0.6539 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.166, allocations: 28.02 kB / 0.6539 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.166, allocations: 3.938 kB / 0.6539 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/0.166, allocations: 15.94 kB / 0.6539 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.1662, allocations: 15.94 kB / 0.6539 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.1666, allocations: 166.2 kB / 0.6541 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.1668, allocations: 0.677 MB / 0.6548 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.594e-05/0.1669, allocations: 4 kB / 0.6548 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.1669, allocations: 11.44 kB / 0.6548 GB, free: 13.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1669, allocations: 0 / 0.6548 GB, free: 13.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6735/0.8404, allocations: 1.094 MB / 0.6558 GB, free: 12.78 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.8407, allocations: 206.8 kB / 0.656 GB, free: 12.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.588, allocations: 2.344 kB / 0.656 GB, free: 12.54 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: