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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001067/0.001067, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001831/0.001832, allocations: 172.7 kB / 15.95 MB, free: 208 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.3 MB / 426.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005134, allocations: 11.94 kB / 0.507 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1845, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001553/0.1861, allocations: 1.188 MB / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4656/0.6517, allocations: 119.6 MB / 0.7054 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.6518, allocations: 1.344 kB / 0.7054 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.6519, allocations: 0.7969 kB / 0.7054 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.6519, allocations: 6.828 kB / 0.7054 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.6522, allocations: 53.02 kB / 0.7054 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.6523, allocations: 49.12 kB / 0.7055 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.521e-05/0.6524, allocations: 14.27 kB / 0.7055 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.6525, allocations: 27.25 kB / 0.7055 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.6525, allocations: 19.92 kB / 0.7055 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.6526, allocations: 2.688 kB / 0.7055 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.6526, allocations: 10.09 kB / 0.7055 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.6526, allocations: 11.27 kB / 0.7056 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.6527, allocations: 34.02 kB / 0.7056 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.6528, allocations: 40.08 kB / 0.7056 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6528, allocations: 0 / 0.7056 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6528, allocations: 0 / 0.7056 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.6528, allocations: 0 / 0.7056 GB, free: 5.297 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.0004858/0.6533, allocations: 380.2 kB / 0.706 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.6534, allocations: 13.03 kB / 0.706 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.6534, allocations: 7.125 kB / 0.706 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.6535, allocations: 173.1 kB / 0.7062 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.6535, allocations: 2.281 kB / 0.7062 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.6536, allocations: 5.438 kB / 0.7062 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.6538, allocations: 83.78 kB / 0.7063 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.6538, allocations: 0 / 0.7063 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6539, allocations: 0.5625 kB / 0.7063 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.6539, allocations: 2.078 kB / 0.7063 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.6542, allocations: 93.98 kB / 0.7063 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.6546, allocations: 288.6 kB / 0.7066 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.6548, allocations: 70.66 kB / 0.7067 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.655, allocations: 46.73 kB / 0.7067 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.6551, allocations: 88.91 kB / 0.7068 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.6552, allocations: 38.02 kB / 0.7069 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.6552, allocations: 1.25 kB / 0.7069 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005471/0.6557, allocations: 171.4 kB / 0.707 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.6558, allocations: 56.88 kB / 0.7071 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.6559, allocations: 112.9 kB / 0.7072 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.6559, allocations: 30.73 kB / 0.7072 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.6559, allocations: 92.64 kB / 0.7073 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.656, allocations: 5.281 kB / 0.7073 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.656, allocations: 0 / 0.7073 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6561, allocations: 318.8 kB / 0.7076 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.6562, allocations: 44.84 kB / 0.7077 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.6564, allocations: 41 kB / 0.7077 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.6565, allocations: 41.11 kB / 0.7077 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6565, allocations: 0 / 0.7077 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003193/0.6569, allocations: 129.2 kB / 0.7079 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6569, allocations: 7.031 kB / 0.7079 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.6569, allocations: 0 / 0.7079 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6569, allocations: 3.953 kB / 0.7079 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.657, allocations: 25.33 kB / 0.7079 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6571, allocations: 3.938 kB / 0.7079 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.6571, allocations: 17.86 kB / 0.7079 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.6572, allocations: 1.219 kB / 0.7079 GB, free: 3.43 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 8.139e-05/0.6572, allocations: 112.1 kB / 0.708 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.6573, allocations: 8.188 kB / 0.708 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.6577, allocations: 128.8 kB / 0.7081 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.6577, allocations: 5.531 kB / 0.7082 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6577, allocations: 4.891 kB / 0.7082 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6577, allocations: 4.031 kB / 0.7082 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.6579, allocations: 176.8 kB / 0.7083 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6579, allocations: 2.031 kB / 0.7083 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.658, allocations: 19.8 kB / 0.7084 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.658, allocations: 0.75 kB / 0.7084 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.658, allocations: 1.219 kB / 0.7084 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.658, allocations: 7.5 kB / 0.7084 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.658, allocations: 2.031 kB / 0.7084 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.6584, allocations: 212.8 kB / 0.7086 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.6584, allocations: 91.08 kB / 0.7087 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.6585, allocations: 9.297 kB / 0.7087 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6586, allocations: 17.48 kB / 0.7087 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.6586, allocations: 7.688 kB / 0.7087 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.6586, allocations: 1.375 kB / 0.7087 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.6587, allocations: 95.84 kB / 0.7088 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6587, allocations: 0 / 0.7088 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002516/0.659, allocations: 17.12 kB / 0.7088 GB, free: 2.691 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.0001468/0.6591, allocations: 107.6 kB / 0.7089 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.6595, allocations: 89.94 kB / 0.709 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6595, allocations: 1.375 kB / 0.709 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.6596, allocations: 51.64 kB / 0.709 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.6599, allocations: 13.34 kB / 0.709 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.6603, allocations: 181.4 kB / 0.7092 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.6605, allocations: 0.6825 MB / 0.7099 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.6605, allocations: 2.469 kB / 0.7099 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.6606, allocations: 11.56 kB / 0.7099 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.6606, allocations: 0 / 0.7099 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of Templates: time 0.003154/0.6637, allocations: 0.8198 MB / 0.7107 GB, free: 1.645 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)