Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.004909/0.004909, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001097/0.001097, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9213/0.9213, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 71.89 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4794, allocations: 80.91 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002297/0.4818, allocations: 1.641 MB / 0.6657 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1868/0.6686, allocations: 151.6 MB / 0.8137 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.6688, allocations: 4 kB / 0.8137 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.669, allocations: 19.8 kB / 0.8138 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.6693, allocations: 39.7 kB / 0.8138 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.6698, allocations: 143.4 kB / 0.8139 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.67, allocations: 127.5 kB / 0.8141 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.6701, allocations: 31.64 kB / 0.8141 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.6713, allocations: 176.5 kB / 0.8143 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.332e-05/0.6714, allocations: 43.77 kB / 0.8143 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.6714, allocations: 8 kB / 0.8143 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.6718, allocations: 183.6 kB / 0.8145 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.6718, allocations: 19.92 kB / 0.8145 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.6719, allocations: 51.73 kB / 0.8146 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.6722, allocations: 191.4 kB / 0.8147 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6722, allocations: 0 / 0.8147 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6722, allocations: 0 / 0.8147 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6723, allocations: 0 / 0.8147 GB, free: 6.852 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006344/0.6729, allocations: 451 kB / 0.8152 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.6729, allocations: 8.031 kB / 0.8152 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.673, allocations: 38.75 kB / 0.8152 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008927/0.6739, allocations: 83.66 kB / 0.8153 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.6742, allocations: 202.8 kB / 0.8155 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6742, allocations: 8 kB / 0.8155 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.6742, allocations: 8 kB / 0.8155 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.6746, allocations: 136.9 kB / 0.8156 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.6747, allocations: 0 / 0.8156 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.6747, allocations: 7.938 kB / 0.8156 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.6747, allocations: 4 kB / 0.8156 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/0.6752, allocations: 139.8 kB / 0.8158 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007585/0.676, allocations: 420.4 kB / 0.8162 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000701/0.6767, allocations: 251.7 kB / 0.8164 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.677, allocations: 68.8 kB / 0.8165 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.677, allocations: 19.97 kB / 0.8165 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.677, allocations: 30.56 kB / 0.8165 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.677, allocations: 0 / 0.8165 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0007777/0.6778, allocations: 217.4 kB / 0.8167 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6779, allocations: 51.41 kB / 0.8168 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.678, allocations: 149.8 kB / 0.8169 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.678, allocations: 25.7 kB / 0.817 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.6781, allocations: 108 kB / 0.8171 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.6781, allocations: 27.78 kB / 0.8171 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.6782, allocations: 25.7 kB / 0.8171 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6783, allocations: 322.8 kB / 0.8174 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.6785, allocations: 59.88 kB / 0.8175 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.6788, allocations: 78.52 kB / 0.8175 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.6792, allocations: 116.8 kB / 0.8177 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6792, allocations: 0 / 0.8177 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004898/0.6797, allocations: 169.3 kB / 0.8178 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6797, allocations: 8 kB / 0.8178 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.6797, allocations: 0 / 0.8178 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6797, allocations: 0 / 0.8178 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.68, allocations: 27.97 kB / 0.8179 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.68, allocations: 0 / 0.8179 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.6801, allocations: 19.97 kB / 0.8179 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.6801, allocations: 7.938 kB / 0.8179 GB, free: 3.371 MB / 0.6387 GB 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 (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 9.87e-05/0.6803, allocations: 121.8 kB / 0.818 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.6803, allocations: 7.906 kB / 0.818 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.6804, allocations: 21.25 kB / 0.818 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.6804, allocations: 0 / 0.818 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6804, allocations: 0 / 0.818 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6804, allocations: 8 kB / 0.818 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.6812, allocations: 458.2 kB / 0.8185 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6812, allocations: 0 / 0.8185 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.6814, allocations: 27.97 kB / 0.8185 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6814, allocations: 0 / 0.8185 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.6814, allocations: 4 kB / 0.8185 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.6814, allocations: 8 kB / 0.8185 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6814, allocations: 3.984 kB / 0.8185 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.682, allocations: 259.3 kB / 0.8188 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.682, allocations: 89 kB / 0.8188 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.682, allocations: 0 / 0.8188 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.6822, allocations: 23.92 kB / 0.8189 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.6823, allocations: 7.984 kB / 0.8189 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.6823, allocations: 0 / 0.8189 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.813e-05/0.6824, allocations: 122.7 kB / 0.819 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6824, allocations: 0 / 0.819 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002647/0.6827, allocations: 27.91 kB / 0.819 GB, free: 2.109 MB / 0.6387 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 (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 Backend phase and start with SimCode phase: time 0.0008718/0.6835, allocations: 0.8072 MB / 0.8198 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005248/0.6841, allocations: 131.9 kB / 0.8199 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6841, allocations: 3.938 kB / 0.8199 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.6843, allocations: 67.88 kB / 0.82 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.6847, allocations: 27.91 kB / 0.82 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.6873, allocations: 1.727 MB / 0.8217 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.6876, allocations: 0.7002 MB / 0.8224 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000133/0.6877, allocations: 32.39 kB / 0.8224 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.6878, allocations: 31.42 kB / 0.8225 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.6878, allocations: 0 / 0.8225 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.708, allocations: 3.407 MB / 0.8258 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/8.077, allocations: 2.188 kB / 0.8258 GB, free: 11.17 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)