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.001589/0.001589, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00205/0.00205, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.567/2.567, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.284/1.284, allocations: 132.3 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007133/0.0007137, allocations: 11.94 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9999/1.001, allocations: 81.58 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003252/1.004, allocations: 1.313 MB / 0.5842 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2954/1.299, allocations: 127.9 MB / 0.7092 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/1.3, allocations: 0 / 0.7092 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/1.3, allocations: 7.922 kB / 0.7092 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000304/1.3, allocations: 43.88 kB / 0.7092 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/1.301, allocations: 131.6 kB / 0.7093 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/1.301, allocations: 75.84 kB / 0.7094 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/1.301, allocations: 31.62 kB / 0.7094 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/1.302, allocations: 95.73 kB / 0.7095 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/1.302, allocations: 31.84 kB / 0.7096 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/1.302, allocations: 8 kB / 0.7096 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/1.302, allocations: 187.7 kB / 0.7098 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/1.302, allocations: 15.92 kB / 0.7098 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/1.302, allocations: 45.64 kB / 0.7098 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/1.303, allocations: 127.7 kB / 0.7099 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.303, allocations: 0 / 0.7099 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.998e-06/1.303, allocations: 0 / 0.7099 GB, free: 14.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.303, allocations: 4 kB / 0.7099 GB, free: 14.25 MB / 0.545 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.0008182/1.303, allocations: 440.5 kB / 0.7104 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/1.303, allocations: 11.97 kB / 0.7104 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/1.304, allocations: 34.56 kB / 0.7104 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/1.305, allocations: 83.72 kB / 0.7105 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/1.305, allocations: 202.8 kB / 0.7107 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/1.305, allocations: 8 kB / 0.7107 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/1.305, allocations: 4 kB / 0.7107 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/1.305, allocations: 157.4 kB / 0.7108 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.305, allocations: 0 / 0.7108 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/1.306, allocations: 0 / 0.7108 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/1.306, allocations: 4 kB / 0.7108 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006018/1.306, allocations: 159.9 kB / 0.711 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/1.307, allocations: 404.5 kB / 0.7114 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/1.308, allocations: 263.7 kB / 0.7116 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/1.308, allocations: 0 / 0.7116 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.308, allocations: 38.55 kB / 0.7117 GB, free: 12.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/1.308, allocations: 0 / 0.7117 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008841/1.309, allocations: 253.5 kB / 0.7119 GB, free: 12.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.309, allocations: 51.41 kB / 0.712 GB, free: 11.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.309, allocations: 146.5 kB / 0.7121 GB, free: 11.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/1.309, allocations: 29.7 kB / 0.7121 GB, free: 11.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/1.309, allocations: 100.3 kB / 0.7122 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/1.309, allocations: 31.69 kB / 0.7123 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/1.309, allocations: 0 / 0.7123 GB, free: 11.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.309, allocations: 318.8 kB / 0.7126 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/1.31, allocations: 75.88 kB / 0.7126 GB, free: 11.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/1.31, allocations: 86.52 kB / 0.7127 GB, free: 11.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/1.31, allocations: 67.89 kB / 0.7128 GB, free: 11.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.31, allocations: 0 / 0.7128 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005477/1.311, allocations: 189.5 kB / 0.713 GB, free: 10.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.311, allocations: 4 kB / 0.713 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/1.311, allocations: 0 / 0.713 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.311, allocations: 0 / 0.713 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/1.311, allocations: 35.91 kB / 0.713 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.311, allocations: 0 / 0.713 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/1.311, allocations: 31.97 kB / 0.713 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/1.311, allocations: 4.5 kB / 0.713 GB, free: 10.82 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.311, allocations: 121.8 kB / 0.7131 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/1.311, allocations: 11.81 kB / 0.7132 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/1.312, allocations: 16.7 kB / 0.7132 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.312, allocations: 0 / 0.7132 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.312, allocations: 4 kB / 0.7132 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.312, allocations: 3.938 kB / 0.7132 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/1.313, allocations: 494.2 kB / 0.7137 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/1.313, allocations: 0 / 0.7137 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/1.313, allocations: 35.97 kB / 0.7137 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/1.313, allocations: 0 / 0.7137 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/1.313, allocations: 0 / 0.7137 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.313, allocations: 0 / 0.7137 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.313, allocations: 3.953 kB / 0.7137 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/1.314, allocations: 275.3 kB / 0.714 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.314, allocations: 92.91 kB / 0.714 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/1.314, allocations: 4 kB / 0.714 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/1.314, allocations: 27.92 kB / 0.7141 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/1.314, allocations: 3.984 kB / 0.7141 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/1.314, allocations: 7.953 kB / 0.7141 GB, free: 9.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001025/1.314, allocations: 115.7 kB / 0.7142 GB, free: 9.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.314, allocations: 0 / 0.7142 GB, free: 9.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003279/1.314, allocations: 28 kB / 0.7142 GB, free: 9.504 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/1.316, allocations: 0.8216 MB / 0.715 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007697/1.316, allocations: 151.8 kB / 0.7152 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.316, allocations: 3.938 kB / 0.7152 GB, free: 8.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/1.317, allocations: 71.94 kB / 0.7152 GB, free: 8.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/1.317, allocations: 35.83 kB / 0.7153 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/1.319, allocations: 0.8174 MB / 0.7161 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/1.32, allocations: 0.7043 MB / 0.7168 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001855/1.32, allocations: 28.95 kB / 0.7168 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/1.32, allocations: 35.25 kB / 0.7168 GB, free: 6.746 MB / 0.545 GB Notification: Performance of SimCode: time 1.713e-06/1.32, allocations: 0 / 0.7168 GB, free: 6.746 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/1.337, allocations: 2.957 MB / 0.7197 GB, free: 3.98 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.337, allocations: 177.9 kB / 0.7199 GB, free: 3.746 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/4.194, allocations: 0 / 0.7199 GB, free: 3.746 MB / 0.545 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/linux/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) Environment - environmentSimulation: