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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007806/0.0007806, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008849/0.0008848, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6619/0.6619, allocations: 132.4 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002646, allocations: 8 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3284, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001138/0.3296, allocations: 1.197 MB / 0.5842 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1156/0.4452, allocations: 119.6 MB / 0.7011 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.4453, allocations: 0 / 0.7011 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.4453, allocations: 7.922 kB / 0.7011 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.4454, allocations: 7.938 kB / 0.7011 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.4457, allocations: 51.8 kB / 0.7011 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.4458, allocations: 51.78 kB / 0.7012 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.4458, allocations: 12 kB / 0.7012 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.4459, allocations: 19.91 kB / 0.7012 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.4459, allocations: 19.92 kB / 0.7012 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.446, allocations: 4 kB / 0.7013 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.446, allocations: 15.98 kB / 0.7013 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.4461, allocations: 7.984 kB / 0.7013 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.4461, allocations: 37.58 kB / 0.7013 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.004e-05/0.4462, allocations: 29.92 kB / 0.7013 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4462, allocations: 0 / 0.7013 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.31e-07/0.4462, allocations: 0 / 0.7013 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.4462, allocations: 8 kB / 0.7013 GB, free: 7.191 MB / 0.5294 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.0004273/0.4466, allocations: 382.9 kB / 0.7017 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.4467, allocations: 8.031 kB / 0.7017 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.4467, allocations: 7.953 kB / 0.7017 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.4468, allocations: 175 kB / 0.7019 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4468, allocations: 4 kB / 0.7019 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.4468, allocations: 4 kB / 0.7019 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.4471, allocations: 85.58 kB / 0.702 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.4471, allocations: 0 / 0.702 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.4471, allocations: 4 kB / 0.702 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4471, allocations: 4 kB / 0.702 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.4474, allocations: 87.92 kB / 0.7021 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.4477, allocations: 280.8 kB / 0.7023 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.4479, allocations: 78.47 kB / 0.7024 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.448, allocations: 44.92 kB / 0.7025 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.4482, allocations: 93.09 kB / 0.7025 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.4482, allocations: 30.56 kB / 0.7026 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.4482, allocations: 0 / 0.7026 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004641/0.4487, allocations: 173.4 kB / 0.7027 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.4487, allocations: 55.41 kB / 0.7028 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.4488, allocations: 113.8 kB / 0.7029 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.4488, allocations: 25.7 kB / 0.7029 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.4489, allocations: 88.14 kB / 0.703 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.4489, allocations: 11.89 kB / 0.703 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.4489, allocations: 0 / 0.703 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.449, allocations: 314.8 kB / 0.7033 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4491, allocations: 47.95 kB / 0.7034 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.4492, allocations: 36.16 kB / 0.7034 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4494, allocations: 48.05 kB / 0.7035 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4494, allocations: 0 / 0.7035 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002719/0.4496, allocations: 125.5 kB / 0.7036 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4497, allocations: 8 kB / 0.7036 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4497, allocations: 0 / 0.7036 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4497, allocations: 7.891 kB / 0.7036 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4498, allocations: 31.86 kB / 0.7036 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4498, allocations: 0 / 0.7036 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.4499, allocations: 19.98 kB / 0.7036 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.4499, allocations: 0 / 0.7036 GB, free: 4.613 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.629e-05/0.45, allocations: 113.8 kB / 0.7037 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.45, allocations: 11.91 kB / 0.7038 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.4503, allocations: 129.5 kB / 0.7039 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4503, allocations: 0 / 0.7039 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4503, allocations: 3.953 kB / 0.7039 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.4503, allocations: 0 / 0.7039 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.4505, allocations: 177.6 kB / 0.7041 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4505, allocations: 0 / 0.7041 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/0.4506, allocations: 19.92 kB / 0.7041 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4506, allocations: 4 kB / 0.7041 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.4506, allocations: 4 kB / 0.7041 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4506, allocations: 0 / 0.7041 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4506, allocations: 0 / 0.7041 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.451, allocations: 223.3 kB / 0.7043 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.451, allocations: 81.11 kB / 0.7044 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.451, allocations: 0 / 0.7044 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.4511, allocations: 19.98 kB / 0.7044 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.4512, allocations: 7.984 kB / 0.7044 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.4512, allocations: 0 / 0.7044 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.4512, allocations: 99.22 kB / 0.7045 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4512, allocations: 0 / 0.7045 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002078/0.4514, allocations: 16 kB / 0.7045 GB, free: 3.617 MB / 0.5294 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 (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.0001225/0.4516, allocations: 107.3 kB / 0.7046 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.4519, allocations: 91.86 kB / 0.7047 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4519, allocations: 8 kB / 0.7047 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.452, allocations: 39.97 kB / 0.7047 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4523, allocations: 19.92 kB / 0.7048 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.4526, allocations: 180.4 kB / 0.7049 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.4528, allocations: 0.6848 MB / 0.7056 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.4528, allocations: 4 kB / 0.7056 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.4529, allocations: 7.438 kB / 0.7056 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.4529, allocations: 4 kB / 0.7056 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of Templates: time 0.00278/0.4557, allocations: 0.8137 MB / 0.7064 GB, free: 1.617 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)