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.001257/0.001257, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001425/0.001425, allocations: 191.4 kB / 16.25 MB, free: 6.637 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9686/0.9686, allocations: 135.1 MB / 425.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.505 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1439, allocations: 80.93 MB / 0.584 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002402/0.1463, allocations: 1.545 MB / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3069/0.4532, allocations: 130.1 MB / 0.7125 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.4533, allocations: 0 / 0.7125 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.4533, allocations: 1.625 kB / 0.7125 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.4534, allocations: 10.58 kB / 0.7126 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.4537, allocations: 65.25 kB / 0.7126 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.738e-05/0.4538, allocations: 55.31 kB / 0.7127 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.4539, allocations: 16.42 kB / 0.7127 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.454, allocations: 26.44 kB / 0.7127 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.454, allocations: 20.77 kB / 0.7127 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.454, allocations: 4.531 kB / 0.7127 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.61e-05/0.4541, allocations: 16.91 kB / 0.7127 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.4541, allocations: 6.766 kB / 0.7128 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.4542, allocations: 29.36 kB / 0.7128 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.4543, allocations: 63.42 kB / 0.7128 GB, free: 13.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4543, allocations: 0 / 0.7128 GB, free: 13.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4543, allocations: 0 / 0.7128 GB, free: 13.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.4543, allocations: 1.062 kB / 0.7128 GB, free: 13.34 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.0004339/0.4547, allocations: 376 kB / 0.7132 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.4548, allocations: 9.906 kB / 0.7132 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.4548, allocations: 32.2 kB / 0.7132 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.4548, allocations: 11.84 kB / 0.7133 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.4549, allocations: 169.1 kB / 0.7134 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4549, allocations: 9.547 kB / 0.7134 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.455, allocations: 2.406 kB / 0.7134 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.4552, allocations: 73.31 kB / 0.7135 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4552, allocations: 3.938 kB / 0.7135 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.4552, allocations: 0.7969 kB / 0.7135 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4552, allocations: 1.438 kB / 0.7135 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.4555, allocations: 72.59 kB / 0.7136 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.4558, allocations: 287.2 kB / 0.7138 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.456, allocations: 61.38 kB / 0.7139 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4561, allocations: 36.47 kB / 0.7139 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.4562, allocations: 93.19 kB / 0.714 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.4563, allocations: 36.28 kB / 0.7141 GB, free: 12.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4563, allocations: 0 / 0.7141 GB, free: 12.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004558/0.4567, allocations: 134.5 kB / 0.7142 GB, free: 12.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.4568, allocations: 51.41 kB / 0.7142 GB, free: 12.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.331e-05/0.4569, allocations: 118.9 kB / 0.7144 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.4569, allocations: 25.7 kB / 0.7144 GB, free: 11.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.4569, allocations: 96.72 kB / 0.7145 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.4569, allocations: 9.969 kB / 0.7145 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.457, allocations: 13.02 kB / 0.7145 GB, free: 11.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.457, allocations: 322.3 kB / 0.7148 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4572, allocations: 31.09 kB / 0.7148 GB, free: 11.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4573, allocations: 31.59 kB / 0.7149 GB, free: 11.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.4575, allocations: 75.55 kB / 0.7149 GB, free: 11.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4576, allocations: 0 / 0.7149 GB, free: 11.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002782/0.4578, allocations: 99.03 kB / 0.715 GB, free: 11.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.4579, allocations: 8.375 kB / 0.715 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.4579, allocations: 2.547 kB / 0.715 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.4579, allocations: 0 / 0.715 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.458, allocations: 15.67 kB / 0.7151 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.458, allocations: 1.719 kB / 0.7151 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.4581, allocations: 15.03 kB / 0.7151 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4581, allocations: 1.062 kB / 0.7151 GB, free: 11.41 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.845e-05/0.4581, allocations: 116.4 kB / 0.7152 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.4582, allocations: 8.688 kB / 0.7152 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.4585, allocations: 114.2 kB / 0.7153 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4585, allocations: 1.469 kB / 0.7153 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4585, allocations: 0.5625 kB / 0.7153 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4585, allocations: 4.688 kB / 0.7153 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.4586, allocations: 173.3 kB / 0.7155 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4587, allocations: 4.703 kB / 0.7155 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.928e-05/0.4587, allocations: 17.91 kB / 0.7155 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4588, allocations: 0 / 0.7155 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.4588, allocations: 0.6562 kB / 0.7155 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4588, allocations: 1.188 kB / 0.7155 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4588, allocations: 0 / 0.7155 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.4591, allocations: 199.7 kB / 0.7157 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.4591, allocations: 87.48 kB / 0.7158 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.4591, allocations: 1.219 kB / 0.7158 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.4592, allocations: 11.67 kB / 0.7158 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.4593, allocations: 7.391 kB / 0.7158 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4593, allocations: 1.469 kB / 0.7158 GB, free: 10.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.4593, allocations: 96.58 kB / 0.7159 GB, free: 10.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4594, allocations: 4 kB / 0.7159 GB, free: 10.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002082/0.4596, allocations: 17.75 kB / 0.7159 GB, free: 10.68 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.0005265/0.4601, allocations: 0.738 MB / 0.7166 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.4604, allocations: 71.58 kB / 0.7167 GB, free: 9.992 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.4604, allocations: 0 / 0.7167 GB, free: 9.992 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4605, allocations: 35.38 kB / 0.7167 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.4608, allocations: 18.62 kB / 0.7167 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.4623, allocations: 1.432 MB / 0.7181 GB, free: 8.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.4624, allocations: 0.6847 MB / 0.7188 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.4625, allocations: 3.719 kB / 0.7188 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.4625, allocations: 18.58 kB / 0.7188 GB, free: 8.027 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4625, allocations: 0 / 0.7188 GB, free: 8.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8801/1.343, allocations: 1.844 MB / 0.7206 GB, free: 7.797 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/1.343, allocations: 197.2 kB / 0.7208 GB, free: 7.543 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.684, allocations: 0 / 0.7208 GB, free: 7.543 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)