Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_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.008051/0.008051, allocations: 101 kB / 15.73 MB, free: 6.059 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.002276/0.002276, allocations: 191.2 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8691/0.8691, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 68.39 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1691, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003075/0.1723, allocations: 1.627 MB / 0.6608 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5808/0.753, allocations: 151.6 MB / 0.8088 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.7533, allocations: 1.219 kB / 0.8088 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.7535, allocations: 18.97 kB / 0.8088 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.7538, allocations: 41.34 kB / 0.8088 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.7543, allocations: 145.3 kB / 0.809 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.7545, allocations: 120.9 kB / 0.8091 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.7547, allocations: 34.8 kB / 0.8091 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.7559, allocations: 162 kB / 0.8093 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.756, allocations: 50.72 kB / 0.8093 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.7561, allocations: 10.88 kB / 0.8093 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.7564, allocations: 179.9 kB / 0.8095 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.7565, allocations: 24.73 kB / 0.8095 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.7566, allocations: 47.11 kB / 0.8096 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.7569, allocations: 190.3 kB / 0.8098 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7569, allocations: 0 / 0.8098 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7569, allocations: 2.938 kB / 0.8098 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7569, allocations: 0 / 0.8098 GB, free: 11.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.0006389/0.7576, allocations: 455.3 kB / 0.8102 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.7576, allocations: 11.09 kB / 0.8102 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.7577, allocations: 37.17 kB / 0.8102 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008491/0.7585, allocations: 91.2 kB / 0.8103 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.7588, allocations: 202.3 kB / 0.8105 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.7588, allocations: 5.469 kB / 0.8105 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.7588, allocations: 8.594 kB / 0.8105 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.7592, allocations: 138.4 kB / 0.8107 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.7593, allocations: 3.938 kB / 0.8107 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.7593, allocations: 9.875 kB / 0.8107 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.7593, allocations: 3.938 kB / 0.8107 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.7598, allocations: 133.3 kB / 0.8108 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.7606, allocations: 408.3 kB / 0.8112 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.7613, allocations: 254.3 kB / 0.8114 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.7616, allocations: 80.61 kB / 0.8115 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.7616, allocations: 0 / 0.8115 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.7616, allocations: 32.41 kB / 0.8115 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.093e-06/0.7617, allocations: 0 / 0.8115 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007809/0.7624, allocations: 217.5 kB / 0.8118 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.7625, allocations: 51.41 kB / 0.8118 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.7626, allocations: 145.6 kB / 0.8119 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.7627, allocations: 29.94 kB / 0.812 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.7627, allocations: 105.5 kB / 0.8121 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.7628, allocations: 30.48 kB / 0.8121 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.7628, allocations: 22.47 kB / 0.8121 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.763, allocations: 330 kB / 0.8124 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.7632, allocations: 55.69 kB / 0.8125 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.7635, allocations: 77.89 kB / 0.8126 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.7639, allocations: 121 kB / 0.8127 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7639, allocations: 0 / 0.8127 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004937/0.7644, allocations: 163.1 kB / 0.8128 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.7645, allocations: 5.031 kB / 0.8128 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7645, allocations: 1.688 kB / 0.8128 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7645, allocations: 0 / 0.8128 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.7647, allocations: 31.64 kB / 0.8129 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7647, allocations: 2.391 kB / 0.8129 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.7649, allocations: 24.02 kB / 0.8129 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.7649, allocations: 5.906 kB / 0.8129 GB, free: 9.203 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.0001051/0.765, allocations: 122.8 kB / 0.813 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.7651, allocations: 13 kB / 0.813 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.7651, allocations: 21.5 kB / 0.8131 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.7651, allocations: 1.531 kB / 0.8131 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7651, allocations: 0 / 0.8131 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7652, allocations: 3.984 kB / 0.8131 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008405/0.766, allocations: 462.9 kB / 0.8135 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.766, allocations: 3.938 kB / 0.8135 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.7662, allocations: 27.36 kB / 0.8135 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7662, allocations: 5.469 kB / 0.8135 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.7662, allocations: 3.266 kB / 0.8135 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7662, allocations: 3.938 kB / 0.8135 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7662, allocations: 0 / 0.8135 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.7668, allocations: 262.6 kB / 0.8138 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.7668, allocations: 83.75 kB / 0.8139 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.7669, allocations: 4.688 kB / 0.8139 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.767, allocations: 23.22 kB / 0.8139 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.7671, allocations: 5.438 kB / 0.8139 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.7671, allocations: 8 kB / 0.8139 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.194e-05/0.7672, allocations: 110.8 kB / 0.814 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7672, allocations: 0 / 0.814 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002836/0.7675, allocations: 31.84 kB / 0.814 GB, free: 8.418 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.0009438/0.7684, allocations: 0.805 MB / 0.8148 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.769, allocations: 127.4 kB / 0.815 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.769, allocations: 0 / 0.815 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.7692, allocations: 63.02 kB / 0.815 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.7696, allocations: 44.28 kB / 0.8151 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.7722, allocations: 1.733 MB / 0.8167 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.7725, allocations: 0.7076 MB / 0.8174 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.7727, allocations: 25.09 kB / 0.8175 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.7727, allocations: 29.52 kB / 0.8175 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.7728, allocations: 4 kB / 0.8175 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.7968, allocations: 3.356 MB / 0.8208 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.877, allocations: 6.438 kB / 0.8208 GB, free: 3.898 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)