Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",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.001185/0.001185, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001152/0.001152, allocations: 198.5 kB / 16.25 MB, free: 6.621 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7126/0.7126, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 59.88 kB / 0.5013 GB, free: 4.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3134, allocations: 80.2 MB / 0.5797 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002183/0.3156, allocations: 1.558 MB / 0.5812 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1176/0.4332, allocations: 130.1 MB / 0.7082 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.4333, allocations: 0 / 0.7082 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.4333, allocations: 7.938 kB / 0.7082 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.4334, allocations: 3.938 kB / 0.7083 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.4337, allocations: 62.02 kB / 0.7083 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.4338, allocations: 55.8 kB / 0.7084 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.579e-05/0.4339, allocations: 15.98 kB / 0.7084 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.434, allocations: 15.83 kB / 0.7084 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.434, allocations: 23.91 kB / 0.7084 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.434, allocations: 8 kB / 0.7084 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.16e-05/0.4341, allocations: 19.98 kB / 0.7084 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.4341, allocations: 7.938 kB / 0.7085 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.4342, allocations: 31.84 kB / 0.7085 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.4343, allocations: 55.81 kB / 0.7085 GB, free: 13.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4343, allocations: 4 kB / 0.7085 GB, free: 13.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4343, allocations: 0 / 0.7085 GB, free: 13.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.4343, allocations: 0 / 0.7085 GB, free: 13.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004223/0.4347, allocations: 371.3 kB / 0.7089 GB, free: 12.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.4348, allocations: 8.031 kB / 0.7089 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.4348, allocations: 38.73 kB / 0.7089 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.4348, allocations: 8.844 kB / 0.7089 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.4349, allocations: 172.3 kB / 0.7091 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4349, allocations: 4.359 kB / 0.7091 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.4349, allocations: 4.375 kB / 0.7091 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.4352, allocations: 82.19 kB / 0.7092 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4352, allocations: 11.88 kB / 0.7092 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.4352, allocations: 0 / 0.7092 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.4352, allocations: 0 / 0.7092 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.4354, allocations: 63.92 kB / 0.7093 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.4357, allocations: 292.6 kB / 0.7095 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.4359, allocations: 54.53 kB / 0.7096 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.4361, allocations: 36.91 kB / 0.7096 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.4362, allocations: 85.11 kB / 0.7097 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.4362, allocations: 46.55 kB / 0.7098 GB, free: 11.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4362, allocations: 0 / 0.7098 GB, free: 11.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004484/0.4367, allocations: 129.4 kB / 0.7099 GB, free: 11.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.4367, allocations: 51.41 kB / 0.7099 GB, free: 11.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.4368, allocations: 128.5 kB / 0.7101 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.4368, allocations: 25.7 kB / 0.7101 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.4369, allocations: 88.14 kB / 0.7102 GB, free: 11.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.4369, allocations: 3.906 kB / 0.7102 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.4369, allocations: 17.72 kB / 0.7102 GB, free: 11.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.437, allocations: 318.8 kB / 0.7105 GB, free: 11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4371, allocations: 27.97 kB / 0.7105 GB, free: 10.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4372, allocations: 39.95 kB / 0.7106 GB, free: 10.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.4375, allocations: 68.78 kB / 0.7106 GB, free: 10.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4375, allocations: 0 / 0.7106 GB, free: 10.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002679/0.4378, allocations: 105.5 kB / 0.7107 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4378, allocations: 6.188 kB / 0.7107 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.4378, allocations: 0 / 0.7107 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.4378, allocations: 0 / 0.7107 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4379, allocations: 19.98 kB / 0.7107 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.4379, allocations: 0 / 0.7107 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.321e-05/0.438, allocations: 23.91 kB / 0.7108 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.438, allocations: 4 kB / 0.7108 GB, free: 10.7 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 (3): * Single equations (assignments): 3 * 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 5.636e-05/0.4381, allocations: 113.8 kB / 0.7109 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.4381, allocations: 3.906 kB / 0.7109 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.4384, allocations: 113.8 kB / 0.711 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.4384, allocations: 3.938 kB / 0.711 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4384, allocations: 0 / 0.711 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4384, allocations: 12.03 kB / 0.711 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.4386, allocations: 173.6 kB / 0.7112 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4386, allocations: 0 / 0.7112 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.4387, allocations: 15.98 kB / 0.7112 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4387, allocations: 0 / 0.7112 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.4387, allocations: 0 / 0.7112 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4387, allocations: 0 / 0.7112 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.4387, allocations: 0 / 0.7112 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.439, allocations: 199.4 kB / 0.7114 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.439, allocations: 85.02 kB / 0.7115 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4391, allocations: 3.938 kB / 0.7115 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.4392, allocations: 15.92 kB / 0.7115 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.4392, allocations: 7.984 kB / 0.7115 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.4392, allocations: 0 / 0.7115 GB, free: 9.867 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.4393, allocations: 99.27 kB / 0.7116 GB, free: 9.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4393, allocations: 0 / 0.7116 GB, free: 9.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002078/0.4395, allocations: 12 kB / 0.7116 GB, free: 9.758 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 (3): * Single equations (assignments): 3 * 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.0005288/0.44, allocations: 0.7319 MB / 0.7123 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.4403, allocations: 75.86 kB / 0.7124 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4403, allocations: 0 / 0.7124 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.4405, allocations: 43.95 kB / 0.7124 GB, free: 8.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.4408, allocations: 4 kB / 0.7124 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4423, allocations: 1.441 MB / 0.7138 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.4424, allocations: 0.6846 MB / 0.7145 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.4425, allocations: 3.938 kB / 0.7145 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.4425, allocations: 19.44 kB / 0.7145 GB, free: 6.621 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4425, allocations: 0 / 0.7145 GB, free: 6.621 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.344/1.786, allocations: 1.855 MB / 0.7163 GB, free: 4.914 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/1.787, allocations: 187.4 kB / 0.7165 GB, free: 4.664 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/3.619, allocations: 0 / 0.7165 GB, free: 4.664 MB / 0.545 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)