Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001108/0.001108, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01158/0.01158, allocations: 170.7 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9974/0.9974, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 9.344 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1635, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001674/0.1652, allocations: 1.371 MB / 0.5894 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006805/0.1659, allocations: 402.8 kB / 0.5898 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.166, allocations: 4 kB / 0.5898 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.99e-05/0.1661, allocations: 7.922 kB / 0.5898 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.1662, allocations: 23.73 kB / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1665, allocations: 111.1 kB / 0.5899 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1666, allocations: 99.58 kB / 0.59 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1668, allocations: 32.27 kB / 0.5901 GB, free: 480 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.1668, allocations: 35.84 kB / 0.5901 GB, free: 444 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.1669, allocations: 31.84 kB / 0.5901 GB, free: 412 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1669, allocations: 8 kB / 0.5901 GB, free: 404 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.167, allocations: 51.95 kB / 0.5902 GB, free: 352 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.1671, allocations: 15.92 kB / 0.5902 GB, free: 336 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.1671, allocations: 69.42 kB / 0.5903 GB, free: 260 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1673, allocations: 115.7 kB / 0.5904 GB, free: 144 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1673, allocations: 7.984 kB / 0.5904 GB, free: 136 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1673, allocations: 0 / 0.5904 GB, free: 136 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1673, allocations: 0 / 0.5904 GB, free: 136 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004857/0.1678, allocations: 407.2 kB / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.1678, allocations: 8.031 kB / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.1679, allocations: 38.75 kB / 0.5908 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.1681, allocations: 32.72 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1683, allocations: 200.1 kB / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.1684, allocations: 42.19 kB / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1684, allocations: 12.38 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1686, allocations: 110 kB / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1687, allocations: 0 / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.1687, allocations: 7.984 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1687, allocations: 0 / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.1689, allocations: 95.88 kB / 0.5913 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.1696, allocations: 380.6 kB / 0.5917 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.1701, allocations: 138.6 kB / 0.5918 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1702, allocations: 52.83 kB / 0.5918 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1703, allocations: 0 / 0.5918 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.1703, allocations: 34.72 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.1703, allocations: 0 / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.1707, allocations: 153.5 kB / 0.592 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1707, allocations: 55.34 kB / 0.5921 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1708, allocations: 139.9 kB / 0.5922 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1709, allocations: 25.7 kB / 0.5922 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.1709, allocations: 104.1 kB / 0.5923 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.1709, allocations: 23.64 kB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.171, allocations: 13.72 kB / 0.5924 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.1711, allocations: 322.8 kB / 0.5927 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1712, allocations: 31.98 kB / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1713, allocations: 57.62 kB / 0.5928 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.1715, allocations: 90.14 kB / 0.5928 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1715, allocations: 7.938 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002565/0.1718, allocations: 121.5 kB / 0.593 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1718, allocations: 8 kB / 0.593 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1718, allocations: 0 / 0.593 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1718, allocations: 3.938 kB / 0.593 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1719, allocations: 31.95 kB / 0.593 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.172, allocations: 0 / 0.593 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.172, allocations: 19.83 kB / 0.593 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1721, allocations: 4 kB / 0.593 GB, free: 13.17 MB / 0.4981 GB 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.575e-05/0.1721, allocations: 117.8 kB / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1722, allocations: 7.906 kB / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.1722, allocations: 16.72 kB / 0.5932 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1722, allocations: 3.938 kB / 0.5932 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1722, allocations: 4 kB / 0.5932 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1722, allocations: 0 / 0.5932 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1724, allocations: 193.6 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1724, allocations: 0 / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.1725, allocations: 23.98 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1725, allocations: 0 / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1726, allocations: 4 kB / 0.5934 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1726, allocations: 7.938 kB / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1726, allocations: 4 kB / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.1729, allocations: 215.3 kB / 0.5936 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.1729, allocations: 85.02 kB / 0.5937 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1729, allocations: 4 kB / 0.5937 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1731, allocations: 19.92 kB / 0.5937 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.1731, allocations: 3.984 kB / 0.5937 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1731, allocations: 8 kB / 0.5937 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.1732, allocations: 105.5 kB / 0.5938 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1732, allocations: 0 / 0.5938 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002267/0.1734, allocations: 19.91 kB / 0.5938 GB, free: 12.25 MB / 0.4981 GB 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005058/0.174, allocations: 0.7475 MB / 0.5946 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.1742, allocations: 79.95 kB / 0.5946 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1742, allocations: 0 / 0.5946 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1743, allocations: 51.97 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1747, allocations: 35.84 kB / 0.5947 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1763, allocations: 1.601 MB / 0.5963 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1765, allocations: 0.7003 MB / 0.597 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.716e-05/0.1766, allocations: 12.67 kB / 0.597 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.1766, allocations: 23.44 kB / 0.597 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1766, allocations: 0 / 0.597 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2771/0.4538, allocations: 2.408 MB / 0.5994 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.4541, allocations: 207.1 kB / 0.5996 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.557, allocations: 0 / 0.5996 GB, free: 6.379 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)