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.001356/0.001356, allocations: 99.86 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.002405/0.002405, 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.677/1.677, allocations: 223.2 MB / 239.9 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.9906/0.9906, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002907, allocations: 8 kB / 0.5069 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 82.3 MB / 0.5873 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001689/0.1537, allocations: 1.338 MB / 0.5886 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005647/0.1543, allocations: 351.2 kB / 0.5889 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.1543, allocations: 4 kB / 0.5889 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.1544, allocations: 3.938 kB / 0.5889 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.1545, allocations: 23.94 kB / 0.5889 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.1548, allocations: 103.7 kB / 0.589 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.155, allocations: 67.84 kB / 0.5891 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.1551, allocations: 36.14 kB / 0.5891 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.1551, allocations: 31.91 kB / 0.5892 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.1552, allocations: 31.86 kB / 0.5892 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1552, allocations: 3.938 kB / 0.5892 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1553, allocations: 63.88 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.1554, allocations: 15.92 kB / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.1554, allocations: 41.64 kB / 0.5893 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1556, allocations: 88.08 kB / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1556, allocations: 4 kB / 0.5894 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1556, allocations: 0 / 0.5894 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1556, allocations: 0 / 0.5894 GB, free: 0.7773 MB / 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.0005095/0.1561, allocations: 399 kB / 0.5898 GB, free: 348 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1561, allocations: 16.02 kB / 0.5898 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.1562, allocations: 38.56 kB / 0.5898 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.1564, allocations: 43.73 kB / 0.5899 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1566, allocations: 186.9 kB / 0.5901 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.862e-05/0.1567, allocations: 33.7 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1567, allocations: 8 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.157, allocations: 109.5 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.157, allocations: 0 / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.157, allocations: 4 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1571, allocations: 4 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.1573, allocations: 83.94 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000704/0.158, allocations: 396.4 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.1586, allocations: 146.5 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1586, allocations: 0 / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1587, allocations: 34.56 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1587, allocations: 3.938 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004449/0.1591, allocations: 145.7 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1592, allocations: 55.34 kB / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1593, allocations: 144.3 kB / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1593, allocations: 29.7 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.1594, allocations: 96.23 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1594, allocations: 27.64 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.1594, allocations: 0 / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1596, allocations: 322.8 kB / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.1597, allocations: 32.14 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1598, allocations: 57.67 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1599, allocations: 32.45 kB / 0.5917 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1599, allocations: 0 / 0.5917 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002754/0.1602, allocations: 133.4 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1602, allocations: 4 kB / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1603, allocations: 4 kB / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1603, allocations: 3.984 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1604, allocations: 20.03 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1604, allocations: 7.922 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.1605, allocations: 11.91 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1605, allocations: 4 kB / 0.5919 GB, free: 13.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/0.1606, allocations: 113.8 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.1606, allocations: 19.86 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.1607, allocations: 12.7 kB / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1607, allocations: 3.938 kB / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1607, allocations: 4 kB / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1607, allocations: 0 / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.1609, allocations: 201.6 kB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.161, allocations: 0 / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1611, allocations: 23.98 kB / 0.5923 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1611, allocations: 0 / 0.5923 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1611, allocations: 3.953 kB / 0.5923 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1611, allocations: 0 / 0.5923 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1611, allocations: 0 / 0.5923 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1614, allocations: 215.4 kB / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.1615, allocations: 84.95 kB / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1615, allocations: 7.984 kB / 0.5926 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1617, allocations: 19.94 kB / 0.5926 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.1617, allocations: 11.94 kB / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1617, allocations: 4 kB / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.1618, allocations: 105.9 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1618, allocations: 0 / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000246/0.1621, allocations: 20 kB / 0.5927 GB, free: 13.03 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 (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.0005409/0.1626, allocations: 0.7358 MB / 0.5935 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1629, allocations: 95.86 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1629, allocations: 0 / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.163, allocations: 39.98 kB / 0.5936 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.1633, allocations: 35.59 kB / 0.5936 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.164, allocations: 0.5803 MB / 0.5942 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.1643, allocations: 0.7043 MB / 0.5949 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.237e-05/0.1644, allocations: 12.66 kB / 0.5949 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.1644, allocations: 23.44 kB / 0.5949 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1644, allocations: 0 / 0.5949 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.178, allocations: 2.331 MB / 0.5972 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.1783, allocations: 186.2 kB / 0.5974 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.173, allocations: 3.625 kB / 0.5974 GB, free: 8.301 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/linux/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) Environment - environmentSimulation: