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.008987/0.008988, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.001887/0.001887, allocations: 201.6 kB / 16.68 MB, free: 6.352 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.86 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1994, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00414/0.2036, allocations: 1.632 MB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1728/0.3764, allocations: 151.6 MB / 0.8088 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.3766, allocations: 0 / 0.8088 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.3769, allocations: 19.81 kB / 0.8088 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.3772, allocations: 51.62 kB / 0.8088 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.3777, allocations: 139.4 kB / 0.809 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.3779, allocations: 119.6 kB / 0.8091 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.378, allocations: 36.19 kB / 0.8091 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.3792, allocations: 177.3 kB / 0.8093 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.3793, allocations: 47.77 kB / 0.8093 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3793, allocations: 8 kB / 0.8093 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.3797, allocations: 175.7 kB / 0.8095 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.3798, allocations: 27.92 kB / 0.8095 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.3799, allocations: 47.73 kB / 0.8096 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.3802, allocations: 188.3 kB / 0.8098 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3802, allocations: 0 / 0.8098 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3802, allocations: 0 / 0.8098 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3803, allocations: 4 kB / 0.8098 GB, free: 3.227 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.0006222/0.3809, allocations: 439 kB / 0.8102 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3809, allocations: 8.031 kB / 0.8102 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.381, allocations: 46.69 kB / 0.8102 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009075/0.3819, allocations: 83.66 kB / 0.8103 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.3821, allocations: 216.9 kB / 0.8105 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3822, allocations: 12 kB / 0.8105 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3822, allocations: 4 kB / 0.8105 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.3826, allocations: 141.5 kB / 0.8107 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3826, allocations: 0 / 0.8107 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3827, allocations: 7.938 kB / 0.8107 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3827, allocations: 0 / 0.8107 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.3832, allocations: 143.2 kB / 0.8108 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.3839, allocations: 412.5 kB / 0.8112 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.3846, allocations: 247.7 kB / 0.8114 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.3849, allocations: 76.73 kB / 0.8115 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.3849, allocations: 8 kB / 0.8115 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.385, allocations: 30.56 kB / 0.8116 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.021e-06/0.385, allocations: 0 / 0.8116 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0007604/0.3857, allocations: 213.3 kB / 0.8118 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3858, allocations: 55.41 kB / 0.8118 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.3859, allocations: 149.9 kB / 0.812 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.386, allocations: 29.7 kB / 0.812 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.386, allocations: 96.14 kB / 0.8121 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.3861, allocations: 31.55 kB / 0.8121 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.3861, allocations: 25.7 kB / 0.8121 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3863, allocations: 330.8 kB / 0.8124 GB, free: 248 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.3865, allocations: 55.88 kB / 0.8125 GB, free: 192 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.3867, allocations: 78.52 kB / 0.8126 GB, free: 104 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3412/0.728, allocations: 113.7 kB / 0.8127 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.728, allocations: 0.5312 kB / 0.8127 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006302/0.7287, allocations: 157.9 kB / 0.8128 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.7287, allocations: 6.156 kB / 0.8128 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7287, allocations: 0.5312 kB / 0.8128 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.7287, allocations: 0.5 kB / 0.8128 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.729, allocations: 32.52 kB / 0.8129 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.729, allocations: 0.5625 kB / 0.8129 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.7292, allocations: 21.78 kB / 0.8129 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.7292, allocations: 7.812 kB / 0.8129 GB, free: 157.5 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 8.739e-05/0.7293, allocations: 118.8 kB / 0.813 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.7294, allocations: 9.781 kB / 0.813 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.7294, allocations: 20.12 kB / 0.813 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7294, allocations: 1.125 kB / 0.813 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7295, allocations: 0.5625 kB / 0.813 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.7295, allocations: 8.062 kB / 0.8131 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008725/0.7303, allocations: 464 kB / 0.8135 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7304, allocations: 0.625 kB / 0.8135 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.7305, allocations: 27.25 kB / 0.8135 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7306, allocations: 3.906 kB / 0.8135 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.7306, allocations: 3.594 kB / 0.8135 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7306, allocations: 5.516 kB / 0.8135 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7306, allocations: 4.594 kB / 0.8135 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.7311, allocations: 257.9 kB / 0.8138 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.7311, allocations: 92.56 kB / 0.8139 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.7312, allocations: 1.125 kB / 0.8139 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.7313, allocations: 17.67 kB / 0.8139 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.7314, allocations: 10.53 kB / 0.8139 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.7314, allocations: 6.812 kB / 0.8139 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.522e-05/0.7315, allocations: 116.2 kB / 0.814 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7315, allocations: 0 / 0.814 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000277/0.7318, allocations: 30.47 kB / 0.814 GB, free: 156.8 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.0007321/0.7325, allocations: 0.8033 MB / 0.8148 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.7331, allocations: 129.1 kB / 0.815 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7331, allocations: 4.688 kB / 0.815 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.7333, allocations: 62.41 kB / 0.815 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.7337, allocations: 34.98 kB / 0.8151 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.7359, allocations: 1.725 MB / 0.8167 GB, free: 154.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.7361, allocations: 0.6989 MB / 0.8174 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.7362, allocations: 29.38 kB / 0.8174 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.7363, allocations: 31.95 kB / 0.8175 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.7363, allocations: 4.875 kB / 0.8175 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.7595, allocations: 3.348 MB / 0.8208 GB, free: 153.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.34, allocations: 2.953 kB / 0.8208 GB, free: 153.8 MB / 0.6387 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)