Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008607/0.0008608, allocations: 87.03 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.0009554/0.0009556, 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.154/1.154, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6641/0.6641, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.000265, allocations: 8 kB / 0.5034 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.33, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.0009561/0.331, allocations: 0.9945 MB / 0.584 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1145/0.4455, allocations: 119.6 MB / 0.7008 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.4455, allocations: 0 / 0.7008 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.4456, allocations: 0 / 0.7008 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.4456, allocations: 11.88 kB / 0.7009 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.4459, allocations: 51.78 kB / 0.7009 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.365e-05/0.446, allocations: 27.8 kB / 0.7009 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.446, allocations: 4 kB / 0.7009 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.171e-05/0.446, allocations: 4 kB / 0.7009 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.4461, allocations: 19.92 kB / 0.701 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.4461, allocations: 0 / 0.701 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.366e-05/0.4462, allocations: 8 kB / 0.701 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.4462, allocations: 4 kB / 0.701 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.4462, allocations: 29.7 kB / 0.701 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.861e-05/0.4463, allocations: 13.95 kB / 0.701 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4463, allocations: 0 / 0.701 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4463, allocations: 0 / 0.701 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.075e-06/0.4463, allocations: 0 / 0.701 GB, free: 7.547 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003126/0.4466, allocations: 339.3 kB / 0.7013 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.4467, allocations: 8.031 kB / 0.7013 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.4467, allocations: 11.94 kB / 0.7014 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/0.4468, allocations: 171 kB / 0.7015 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.4469, allocations: 29.7 kB / 0.7015 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.4469, allocations: 0 / 0.7015 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.447, allocations: 41.69 kB / 0.7016 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.447, allocations: 0 / 0.7016 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.447, allocations: 4 kB / 0.7016 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.447, allocations: 4 kB / 0.7016 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.4471, allocations: 15.94 kB / 0.7016 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.4472, allocations: 149.7 kB / 0.7017 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.4473, allocations: 34.52 kB / 0.7018 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.4474, allocations: 16.94 kB / 0.7018 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.4475, allocations: 93.09 kB / 0.7019 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.4475, allocations: 30.56 kB / 0.7019 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4476, allocations: 0 / 0.7019 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001857/0.4477, allocations: 57.67 kB / 0.702 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.4478, allocations: 51.41 kB / 0.702 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.4478, allocations: 105.8 kB / 0.7021 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.4479, allocations: 29.64 kB / 0.7021 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.4479, allocations: 84.14 kB / 0.7022 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.4479, allocations: 11.8 kB / 0.7022 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.4479, allocations: 4 kB / 0.7022 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.448, allocations: 314.8 kB / 0.7025 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.448, allocations: 4 kB / 0.7025 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.4481, allocations: 7.984 kB / 0.7026 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.4481, allocations: 4 kB / 0.7026 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4481, allocations: 0 / 0.7026 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001059/0.4482, allocations: 54.16 kB / 0.7026 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4483, allocations: 7.938 kB / 0.7026 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4483, allocations: 3.984 kB / 0.7026 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.4483, allocations: 0 / 0.7026 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.4483, allocations: 4 kB / 0.7026 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4484, allocations: 4 kB / 0.7026 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.4484, allocations: 11.88 kB / 0.7026 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4484, allocations: 3.953 kB / 0.7026 GB, free: 5.629 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 5.744e-05/0.4485, allocations: 111.4 kB / 0.7028 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.4485, allocations: 8.031 kB / 0.7028 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.4486, allocations: 61.17 kB / 0.7028 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4486, allocations: 0 / 0.7028 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4486, allocations: 4 kB / 0.7028 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.4486, allocations: 0 / 0.7028 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.52e-05/0.4487, allocations: 153.6 kB / 0.703 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4487, allocations: 0 / 0.703 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.4488, allocations: 11.98 kB / 0.703 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4488, allocations: 0 / 0.703 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.4488, allocations: 4 kB / 0.703 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4488, allocations: 0 / 0.703 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4488, allocations: 3.938 kB / 0.703 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.4489, allocations: 76.98 kB / 0.7031 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.449, allocations: 85.09 kB / 0.7031 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.449, allocations: 0 / 0.7031 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.359e-05/0.449, allocations: 0 / 0.7031 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.4491, allocations: 12 kB / 0.7032 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4491, allocations: 3.984 kB / 0.7032 GB, free: 5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.025e-05/0.4491, allocations: 79.22 kB / 0.7032 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4491, allocations: 0 / 0.7032 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001834/0.4493, allocations: 12 kB / 0.7032 GB, free: 4.91 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.0001272/0.4494, allocations: 107.2 kB / 0.7033 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.4496, allocations: 23.92 kB / 0.7034 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4496, allocations: 4 kB / 0.7034 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.4496, allocations: 8 kB / 0.7034 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.4498, allocations: 17.8 kB / 0.7034 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.45, allocations: 140.5 kB / 0.7035 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.4502, allocations: 0.677 MB / 0.7042 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.4503, allocations: 7.984 kB / 0.7042 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.4503, allocations: 11.44 kB / 0.7042 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.4503, allocations: 0 / 0.7042 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of Templates: time 0.00203/0.4524, allocations: 476.4 kB / 0.7047 GB, free: 3.398 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)