Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_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.001036/0.001036, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001069/0.001069, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8611/0.8611, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.5 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 80.93 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002604/0.1408, allocations: 1.542 MB / 0.5853 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3182/0.459, allocations: 129.9 MB / 0.7122 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.4591, allocations: 0 / 0.7122 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.4591, allocations: 6.328 kB / 0.7122 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.4592, allocations: 10.53 kB / 0.7122 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.4595, allocations: 59.92 kB / 0.7123 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.501e-05/0.4596, allocations: 56.5 kB / 0.7123 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.008e-05/0.4597, allocations: 19.78 kB / 0.7123 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.4598, allocations: 18.69 kB / 0.7123 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.4598, allocations: 20.78 kB / 0.7124 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.4598, allocations: 3.344 kB / 0.7124 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.737e-05/0.4599, allocations: 14.75 kB / 0.7124 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.4599, allocations: 11.53 kB / 0.7124 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.46, allocations: 21.03 kB / 0.7124 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.4601, allocations: 61.02 kB / 0.7125 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4601, allocations: 0 / 0.7125 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.32e-07/0.4601, allocations: 1.156 kB / 0.7125 GB, free: 13.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.4601, allocations: 0 / 0.7125 GB, free: 13.75 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.0004701/0.4606, allocations: 375.3 kB / 0.7128 GB, free: 13.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4607, allocations: 9.891 kB / 0.7128 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.4607, allocations: 36.91 kB / 0.7129 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.4607, allocations: 3.688 kB / 0.7129 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.589e-05/0.4608, allocations: 172.9 kB / 0.713 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.4608, allocations: 1.344 kB / 0.713 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.4609, allocations: 3.562 kB / 0.7131 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.4611, allocations: 75.98 kB / 0.7131 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4611, allocations: 3.938 kB / 0.7131 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4611, allocations: 9.031 kB / 0.7131 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.4612, allocations: 0.7031 kB / 0.7131 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.4614, allocations: 65.23 kB / 0.7132 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.4618, allocations: 291 kB / 0.7135 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.462, allocations: 60.47 kB / 0.7135 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.4621, allocations: 36.5 kB / 0.7136 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.4623, allocations: 92.89 kB / 0.7137 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4623, allocations: 36.7 kB / 0.7137 GB, free: 12.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4623, allocations: 0 / 0.7137 GB, free: 12.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005001/0.4628, allocations: 137.4 kB / 0.7138 GB, free: 12.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.4629, allocations: 52.06 kB / 0.7139 GB, free: 12.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.463, allocations: 117.4 kB / 0.714 GB, free: 12.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.463, allocations: 25.7 kB / 0.714 GB, free: 12.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.463, allocations: 93.52 kB / 0.7141 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.463, allocations: 5.797 kB / 0.7141 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.4631, allocations: 16.8 kB / 0.7141 GB, free: 12.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.4632, allocations: 318.7 kB / 0.7144 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.4633, allocations: 35.36 kB / 0.7145 GB, free: 11.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.4635, allocations: 34.77 kB / 0.7145 GB, free: 11.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.4637, allocations: 70.72 kB / 0.7146 GB, free: 11.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4637, allocations: 5.344 kB / 0.7146 GB, free: 11.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002912/0.464, allocations: 98.81 kB / 0.7147 GB, free: 11.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.464, allocations: 5.781 kB / 0.7147 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.464, allocations: 0 / 0.7147 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4641, allocations: 0 / 0.7147 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4642, allocations: 17.23 kB / 0.7147 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4642, allocations: 0 / 0.7147 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.4643, allocations: 24.09 kB / 0.7147 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4643, allocations: 0 / 0.7147 GB, free: 11.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 (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 6.648e-05/0.4643, allocations: 113.1 kB / 0.7148 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.4644, allocations: 3.234 kB / 0.7148 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.4647, allocations: 118.5 kB / 0.7149 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4647, allocations: 0.5625 kB / 0.7149 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4648, allocations: 1.094 kB / 0.7149 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4648, allocations: 0.5625 kB / 0.7149 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.4649, allocations: 173.2 kB / 0.7151 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4649, allocations: 0.6875 kB / 0.7151 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.1e-05/0.465, allocations: 19.47 kB / 0.7151 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.465, allocations: 1.344 kB / 0.7151 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.465, allocations: 0.7031 kB / 0.7151 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4651, allocations: 2.375 kB / 0.7151 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4651, allocations: 4 kB / 0.7151 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.4654, allocations: 203.5 kB / 0.7153 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.4654, allocations: 82.72 kB / 0.7154 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.4655, allocations: 2.016 kB / 0.7154 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4656, allocations: 14.88 kB / 0.7154 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.4656, allocations: 7.641 kB / 0.7154 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.4656, allocations: 5.125 kB / 0.7154 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.4657, allocations: 92.8 kB / 0.7155 GB, free: 11.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4657, allocations: 0 / 0.7155 GB, free: 11.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002211/0.4659, allocations: 12.72 kB / 0.7155 GB, free: 11.1 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.000584/0.4665, allocations: 0.7332 MB / 0.7162 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.4668, allocations: 72.27 kB / 0.7163 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4668, allocations: 4 kB / 0.7163 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.467, allocations: 34.98 kB / 0.7163 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.4673, allocations: 17.66 kB / 0.7164 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.4689, allocations: 1.441 MB / 0.7178 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.4691, allocations: 0.6834 MB / 0.7184 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.938e-05/0.4691, allocations: 9.531 kB / 0.7184 GB, free: 8.441 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.4692, allocations: 14.92 kB / 0.7185 GB, free: 8.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.4692, allocations: 0 / 0.7185 GB, free: 8.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.81/3.279, allocations: 1.784 MB / 0.7202 GB, free: 8.188 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/3.28, allocations: 195.2 kB / 0.7204 GB, free: 7.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/5.009, allocations: 0 / 0.7204 GB, free: 7.938 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)