Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.00156/0.00156, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001635/0.001635, allocations: 187.8 kB / 16.25 MB, free: 6.145 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9402/0.9402, allocations: 135.6 MB / 425.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 65.81 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1584, allocations: 81.01 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002371/0.1608, allocations: 1.333 MB / 0.5858 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3999/0.5607, allocations: 130.1 MB / 0.7128 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.5608, allocations: 0 / 0.7128 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.5608, allocations: 0.6094 kB / 0.7128 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.5609, allocations: 5.891 kB / 0.7128 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.5612, allocations: 51.2 kB / 0.7129 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.23e-05/0.5613, allocations: 19.91 kB / 0.7129 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.5614, allocations: 3.719 kB / 0.7129 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.5614, allocations: 10.47 kB / 0.7129 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.5615, allocations: 13.53 kB / 0.7129 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.5615, allocations: 4 kB / 0.7129 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.5616, allocations: 14.47 kB / 0.7129 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.5616, allocations: 10.48 kB / 0.7129 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.5616, allocations: 4.25 kB / 0.7129 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.396e-05/0.5617, allocations: 29.94 kB / 0.713 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5617, allocations: 0 / 0.713 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5617, allocations: 0 / 0.713 GB, free: 13.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.5617, allocations: 0 / 0.713 GB, free: 13.12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004203/0.5622, allocations: 333.2 kB / 0.7133 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5622, allocations: 14.17 kB / 0.7133 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.5622, allocations: 4.312 kB / 0.7133 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.5624, allocations: 163.3 kB / 0.7135 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.5625, allocations: 30 kB / 0.7135 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.5625, allocations: 1.656 kB / 0.7135 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.5626, allocations: 44.22 kB / 0.7135 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5626, allocations: 5.406 kB / 0.7135 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.5626, allocations: 0 / 0.7135 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.5626, allocations: 1.5 kB / 0.7135 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.685e-05/0.5627, allocations: 19.44 kB / 0.7136 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.5629, allocations: 153.8 kB / 0.7137 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/0.563, allocations: 30.25 kB / 0.7137 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.5631, allocations: 15.14 kB / 0.7137 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.5632, allocations: 89.52 kB / 0.7138 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.5633, allocations: 36.61 kB / 0.7139 GB, free: 12.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5633, allocations: 0 / 0.7139 GB, free: 12.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002305/0.5635, allocations: 65.78 kB / 0.7139 GB, free: 12.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.5635, allocations: 55.95 kB / 0.714 GB, free: 12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.418e-05/0.5636, allocations: 99.14 kB / 0.7141 GB, free: 11.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5636, allocations: 27.89 kB / 0.7141 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.5637, allocations: 84.12 kB / 0.7142 GB, free: 11.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.5637, allocations: 14.97 kB / 0.7142 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.5638, allocations: 17.58 kB / 0.7142 GB, free: 11.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5639, allocations: 313.2 kB / 0.7145 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.5639, allocations: 5.312 kB / 0.7145 GB, free: 11.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.564, allocations: 10.72 kB / 0.7145 GB, free: 11.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.5641, allocations: 30.09 kB / 0.7146 GB, free: 11.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5641, allocations: 1.969 kB / 0.7146 GB, free: 11.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001157/0.5642, allocations: 52.44 kB / 0.7146 GB, free: 11.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5642, allocations: 9.875 kB / 0.7146 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.5642, allocations: 0 / 0.7146 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5643, allocations: 0.7031 kB / 0.7146 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.5643, allocations: 9.016 kB / 0.7146 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5643, allocations: 0.75 kB / 0.7146 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.5644, allocations: 2.906 kB / 0.7146 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.5644, allocations: 1.281 kB / 0.7146 GB, free: 11.38 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 7.992e-05/0.5645, allocations: 113.3 kB / 0.7147 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.5645, allocations: 9.125 kB / 0.7147 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.5646, allocations: 62.39 kB / 0.7148 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.5647, allocations: 0 / 0.7148 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5647, allocations: 0 / 0.7148 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5647, allocations: 1.812 kB / 0.7148 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.5648, allocations: 153.2 kB / 0.715 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5648, allocations: 0 / 0.715 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.5648, allocations: 5.938 kB / 0.715 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5649, allocations: 5.188 kB / 0.715 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.5649, allocations: 4 kB / 0.715 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5649, allocations: 1.672 kB / 0.715 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.5649, allocations: 0 / 0.715 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.565, allocations: 78.55 kB / 0.715 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.5651, allocations: 79.89 kB / 0.7151 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.5651, allocations: 5.953 kB / 0.7151 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.5652, allocations: 5.984 kB / 0.7151 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.5652, allocations: 10.86 kB / 0.7151 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.5652, allocations: 1.375 kB / 0.7151 GB, free: 10.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.5652, allocations: 79.45 kB / 0.7152 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5653, allocations: 0 / 0.7152 GB, free: 10.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001785/0.5654, allocations: 11.88 kB / 0.7152 GB, free: 10.74 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.0001403/0.5656, allocations: 107 kB / 0.7153 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.5657, allocations: 20.75 kB / 0.7154 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5657, allocations: 4 kB / 0.7154 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.5658, allocations: 18.12 kB / 0.7154 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.566, allocations: 8.531 kB / 0.7154 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.5663, allocations: 132.7 kB / 0.7155 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.5666, allocations: 0.677 MB / 0.7162 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.5667, allocations: 6.906 kB / 0.7162 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.5667, allocations: 9.625 kB / 0.7162 GB, free: 9.816 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5667, allocations: 0 / 0.7162 GB, free: 9.816 MB / 0.545 GB Notification: Performance of Templates: time 0.002573/0.5693, allocations: 0.5046 MB / 0.7167 GB, free: 9.742 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)