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.004758/0.004758, allocations: 99.61 kB / 15.73 MB, free: 6.031 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.001272/0.001272, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8673/0.8673, allocations: 135.6 MB / 426.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.8 kB / 0.5857 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1906, allocations: 81.03 MB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002708/0.1933, allocations: 1.636 MB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.705/0.8984, allocations: 151.5 MB / 0.8144 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.8986, allocations: 1.25 kB / 0.8144 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.8988, allocations: 21.03 kB / 0.8145 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.8992, allocations: 47.64 kB / 0.8145 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.8997, allocations: 145.5 kB / 0.8146 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.8999, allocations: 121.4 kB / 0.8148 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.9001, allocations: 36.31 kB / 0.8148 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.9014, allocations: 164.1 kB / 0.815 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.9015, allocations: 45.23 kB / 0.815 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.9016, allocations: 6.875 kB / 0.815 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.902, allocations: 180 kB / 0.8152 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.9021, allocations: 28.14 kB / 0.8152 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.9021, allocations: 44.22 kB / 0.8152 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.9025, allocations: 191.8 kB / 0.8154 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9025, allocations: 3.938 kB / 0.8154 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9025, allocations: 1.375 kB / 0.8154 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.9026, allocations: 0 / 0.8154 GB, free: 9.41 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.0007977/0.9034, allocations: 444.9 kB / 0.8159 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.9034, allocations: 10.39 kB / 0.8159 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.9035, allocations: 46.53 kB / 0.8159 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.9044, allocations: 87.08 kB / 0.816 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.9047, allocations: 211.7 kB / 0.8162 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.9047, allocations: 6.406 kB / 0.8162 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.9047, allocations: 8.875 kB / 0.8162 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.9052, allocations: 137.5 kB / 0.8163 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.9052, allocations: 0 / 0.8163 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.9052, allocations: 3.938 kB / 0.8163 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.9052, allocations: 5.938 kB / 0.8163 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.9058, allocations: 138.4 kB / 0.8165 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.9066, allocations: 416.4 kB / 0.8169 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/0.9074, allocations: 251.2 kB / 0.8171 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.9076, allocations: 76.44 kB / 0.8172 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.9076, allocations: 0 / 0.8172 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.9077, allocations: 40.36 kB / 0.8172 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.9077, allocations: 0 / 0.8172 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007756/0.9085, allocations: 215.9 kB / 0.8174 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.9085, allocations: 55.34 kB / 0.8175 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.9087, allocations: 142.1 kB / 0.8176 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.9087, allocations: 31.92 kB / 0.8177 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.9088, allocations: 104.2 kB / 0.8178 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.9088, allocations: 28.36 kB / 0.8178 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.9089, allocations: 18.34 kB / 0.8178 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.909, allocations: 324.8 kB / 0.8181 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.9092, allocations: 60.12 kB / 0.8182 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.9095, allocations: 76.77 kB / 0.8182 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.9099, allocations: 121.3 kB / 0.8184 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9099, allocations: 0 / 0.8184 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004993/0.9104, allocations: 164.4 kB / 0.8185 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.9104, allocations: 4.875 kB / 0.8185 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.9104, allocations: 0 / 0.8185 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.9105, allocations: 6.078 kB / 0.8185 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.9107, allocations: 29.44 kB / 0.8185 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.9107, allocations: 0 / 0.8185 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.9108, allocations: 22 kB / 0.8186 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.9109, allocations: 6.562 kB / 0.8186 GB, free: 7.094 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.0001116/0.911, allocations: 121 kB / 0.8187 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.911, allocations: 17.94 kB / 0.8187 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.9111, allocations: 17.67 kB / 0.8187 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.9111, allocations: 2.625 kB / 0.8187 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9111, allocations: 1.125 kB / 0.8187 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9111, allocations: 0 / 0.8187 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.912, allocations: 470.8 kB / 0.8192 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.912, allocations: 0 / 0.8192 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.9122, allocations: 29.75 kB / 0.8192 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9122, allocations: 7.062 kB / 0.8192 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.9122, allocations: 0 / 0.8192 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.9122, allocations: 3.938 kB / 0.8192 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.9122, allocations: 5.109 kB / 0.8192 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.9128, allocations: 259.9 kB / 0.8195 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.9129, allocations: 87.36 kB / 0.8196 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.9129, allocations: 2.438 kB / 0.8196 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.9131, allocations: 19.05 kB / 0.8196 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.9131, allocations: 6.953 kB / 0.8196 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.9131, allocations: 2.812 kB / 0.8196 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.923e-05/0.9132, allocations: 115.4 kB / 0.8197 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9132, allocations: 4 kB / 0.8197 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002717/0.9135, allocations: 31.25 kB / 0.8197 GB, free: 6.188 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.0009389/0.9145, allocations: 0.8021 MB / 0.8205 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004925/0.915, allocations: 119.8 kB / 0.8206 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.915, allocations: 4 kB / 0.8206 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.9152, allocations: 70.94 kB / 0.8207 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.9156, allocations: 44.98 kB / 0.8207 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.9182, allocations: 1.735 MB / 0.8224 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.9186, allocations: 0.7021 MB / 0.8231 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000134/0.9187, allocations: 25.83 kB / 0.8231 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.9188, allocations: 30.42 kB / 0.8232 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.9188, allocations: 0 / 0.8232 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.9446, allocations: 3.35 MB / 0.8264 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.975, allocations: 12.31 kB / 0.8265 GB, free: 1.613 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)