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.007204/0.007204, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001585/0.001585, allocations: 193.2 kB / 16.67 MB, free: 5.52 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7857/0.7857, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.28 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1645, allocations: 80.92 MB / 0.6641 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003057/0.1676, allocations: 1.646 MB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5884/0.756, allocations: 151.5 MB / 0.8137 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.7562, allocations: 1.375 kB / 0.8137 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.7565, allocations: 24.7 kB / 0.8138 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.7568, allocations: 43.25 kB / 0.8138 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.7574, allocations: 149.6 kB / 0.8139 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.7577, allocations: 125 kB / 0.8141 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.7578, allocations: 35.41 kB / 0.8141 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.759, allocations: 165.8 kB / 0.8143 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.7591, allocations: 44.45 kB / 0.8143 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.7591, allocations: 10.86 kB / 0.8143 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.7595, allocations: 183.3 kB / 0.8145 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.7595, allocations: 21.53 kB / 0.8145 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.7596, allocations: 47.2 kB / 0.8145 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.76, allocations: 181.3 kB / 0.8147 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.76, allocations: 0 / 0.8147 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.76, allocations: 4 kB / 0.8147 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.76, allocations: 1.125 kB / 0.8147 GB, free: 10.15 MB / 0.5919 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.0006535/0.7607, allocations: 441.2 kB / 0.8151 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.7607, allocations: 11.27 kB / 0.8152 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.7608, allocations: 41.53 kB / 0.8152 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009363/0.7617, allocations: 86.66 kB / 0.8153 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.762, allocations: 211.8 kB / 0.8155 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.762, allocations: 6 kB / 0.8155 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.7621, allocations: 5.594 kB / 0.8155 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.7625, allocations: 139.2 kB / 0.8156 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.7625, allocations: 3.984 kB / 0.8156 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.7626, allocations: 1.969 kB / 0.8156 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.7626, allocations: 5.375 kB / 0.8156 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.7631, allocations: 145.8 kB / 0.8158 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.7638, allocations: 412.4 kB / 0.8162 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.7645, allocations: 260.5 kB / 0.8164 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.7648, allocations: 73.86 kB / 0.8165 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.7648, allocations: 0 / 0.8165 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.7648, allocations: 36.94 kB / 0.8165 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.7648, allocations: 4 kB / 0.8165 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007259/0.7656, allocations: 207.8 kB / 0.8167 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.7656, allocations: 55.41 kB / 0.8168 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.7658, allocations: 153.6 kB / 0.8169 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.7658, allocations: 25.7 kB / 0.8169 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.7659, allocations: 102.3 kB / 0.817 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.7659, allocations: 28.56 kB / 0.8171 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.766, allocations: 22.11 kB / 0.8171 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7661, allocations: 327.9 kB / 0.8174 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.7663, allocations: 53.02 kB / 0.8175 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.7665, allocations: 77.08 kB / 0.8175 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.7669, allocations: 124.6 kB / 0.8176 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.767, allocations: 2.375 kB / 0.8176 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004365/0.7674, allocations: 160.3 kB / 0.8178 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7674, allocations: 8.812 kB / 0.8178 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7674, allocations: 0 / 0.8178 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7675, allocations: 2.875 kB / 0.8178 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.7677, allocations: 29.52 kB / 0.8178 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7677, allocations: 0 / 0.8178 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.7678, allocations: 13.89 kB / 0.8179 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.7678, allocations: 2.406 kB / 0.8179 GB, free: 7.871 MB / 0.5919 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 0.0001295/0.768, allocations: 129.9 kB / 0.818 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.768, allocations: 8.906 kB / 0.818 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.7681, allocations: 14.56 kB / 0.818 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.7681, allocations: 3.344 kB / 0.818 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7681, allocations: 0 / 0.818 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7681, allocations: 0 / 0.818 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007992/0.7689, allocations: 473.6 kB / 0.8185 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7689, allocations: 3.938 kB / 0.8185 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.7691, allocations: 26.06 kB / 0.8185 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.7691, allocations: 0 / 0.8185 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.7692, allocations: 12.02 kB / 0.8185 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7692, allocations: 3.938 kB / 0.8185 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7692, allocations: 80 / 0.8185 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.7697, allocations: 262.2 kB / 0.8188 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.7697, allocations: 87.61 kB / 0.8188 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.7698, allocations: 10.59 kB / 0.8188 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.7699, allocations: 19.42 kB / 0.8189 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.77, allocations: 6.641 kB / 0.8189 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.77, allocations: 2.688 kB / 0.8189 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.7701, allocations: 112.1 kB / 0.819 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7701, allocations: 0 / 0.819 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002724/0.7704, allocations: 27.56 kB / 0.819 GB, free: 6.961 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: 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.0008494/0.7712, allocations: 0.8108 MB / 0.8198 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000461/0.7717, allocations: 120.9 kB / 0.8199 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7717, allocations: 0 / 0.8199 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.7719, allocations: 74.72 kB / 0.82 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.7723, allocations: 36.22 kB / 0.82 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.7748, allocations: 1.73 MB / 0.8217 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.7751, allocations: 0.7019 MB / 0.8224 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.7752, allocations: 35 kB / 0.8224 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.7753, allocations: 32.8 kB / 0.8225 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of SimCode: time 5.72e-07/0.7753, allocations: 0 / 0.8225 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.7941, allocations: 3.341 MB / 0.8257 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/8.316, allocations: 13.28 kB / 0.8257 GB, free: 2.387 MB / 0.5919 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)