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.001012/0.001012, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.001109/0.001109, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7858/0.7858, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.89 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.35, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002407/0.3524, allocations: 1.486 MB / 0.5872 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1356/0.4881, allocations: 132.1 MB / 0.7162 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.4882, allocations: 3.938 kB / 0.7162 GB, free: 4.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.4882, allocations: 3.938 kB / 0.7162 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.4883, allocations: 11.92 kB / 0.7162 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.4887, allocations: 67.66 kB / 0.7163 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.962e-05/0.4888, allocations: 47.84 kB / 0.7163 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.4889, allocations: 17.83 kB / 0.7163 GB, free: 4.406 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.4889, allocations: 19.92 kB / 0.7164 GB, free: 4.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.489, allocations: 27.91 kB / 0.7164 GB, free: 4.359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.489, allocations: 4 kB / 0.7164 GB, free: 4.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.916e-05/0.4891, allocations: 12 kB / 0.7164 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.4891, allocations: 19.91 kB / 0.7164 GB, free: 4.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.4892, allocations: 23.86 kB / 0.7164 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.4893, allocations: 59.62 kB / 0.7165 GB, free: 4.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4893, allocations: 0 / 0.7165 GB, free: 4.246 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4893, allocations: 4 kB / 0.7165 GB, free: 4.242 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4893, allocations: 0 / 0.7165 GB, free: 4.242 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.0005198/0.4899, allocations: 375.3 kB / 0.7169 GB, free: 3.824 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4899, allocations: 9.109 kB / 0.7169 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.49, allocations: 4.938 kB / 0.7169 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.4901, allocations: 184.1 kB / 0.7171 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.4901, allocations: 384 / 0.7171 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.4901, allocations: 8.375 kB / 0.7171 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.4904, allocations: 70.22 kB / 0.7171 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4904, allocations: 4.125 kB / 0.7171 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4904, allocations: 3.938 kB / 0.7171 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4904, allocations: 0 / 0.7171 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.4907, allocations: 67.92 kB / 0.7172 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.4911, allocations: 284.7 kB / 0.7175 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.4913, allocations: 62.47 kB / 0.7175 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.4914, allocations: 32.92 kB / 0.7176 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.4916, allocations: 97.08 kB / 0.7177 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4916, allocations: 34.56 kB / 0.7177 GB, free: 2.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4916, allocations: 0 / 0.7177 GB, free: 2.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004941/0.4921, allocations: 137.4 kB / 0.7178 GB, free: 2.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.4922, allocations: 55.41 kB / 0.7179 GB, free: 2.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4923, allocations: 113.8 kB / 0.718 GB, free: 2.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4923, allocations: 25.7 kB / 0.718 GB, free: 2.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.4924, allocations: 96.12 kB / 0.7181 GB, free: 2.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.4924, allocations: 3.906 kB / 0.7181 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.4924, allocations: 17.66 kB / 0.7181 GB, free: 2.363 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4926, allocations: 322.8 kB / 0.7184 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4927, allocations: 31.97 kB / 0.7185 GB, free: 2.008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.4928, allocations: 31.97 kB / 0.7185 GB, free: 1.977 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.4931, allocations: 68.78 kB / 0.7186 GB, free: 1.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4931, allocations: 4 kB / 0.7186 GB, free: 1.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002735/0.4933, allocations: 97.53 kB / 0.7186 GB, free: 1.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4934, allocations: 4 kB / 0.7187 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.4934, allocations: 3.984 kB / 0.7187 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4934, allocations: 0 / 0.7187 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4935, allocations: 19.92 kB / 0.7187 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4935, allocations: 8 kB / 0.7187 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.4936, allocations: 15.92 kB / 0.7187 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.4936, allocations: 3.938 kB / 0.7187 GB, free: 1.746 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 8.574e-05/0.4937, allocations: 117.8 kB / 0.7188 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.4938, allocations: 0 / 0.7188 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.4941, allocations: 117.4 kB / 0.7189 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4941, allocations: 0 / 0.7189 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4941, allocations: 4 kB / 0.7189 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4941, allocations: 0 / 0.7189 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.4943, allocations: 173.7 kB / 0.7191 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4943, allocations: 0 / 0.7191 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.4944, allocations: 19.97 kB / 0.7191 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4944, allocations: 0 / 0.7191 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4944, allocations: 3.938 kB / 0.7191 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4944, allocations: 3.984 kB / 0.7191 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4944, allocations: 4 kB / 0.7191 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.4948, allocations: 191.4 kB / 0.7193 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.4948, allocations: 89 kB / 0.7194 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4948, allocations: 432 / 0.7194 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4949, allocations: 15.98 kB / 0.7194 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.495, allocations: 4 kB / 0.7194 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.495, allocations: 7.984 kB / 0.7194 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.4951, allocations: 90.67 kB / 0.7195 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4951, allocations: 0 / 0.7195 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002211/0.4953, allocations: 12 kB / 0.7195 GB, free: 0.8125 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.000133/0.4954, allocations: 107.2 kB / 0.7196 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.4957, allocations: 79.84 kB / 0.7197 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4957, allocations: 0 / 0.7197 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.4959, allocations: 35.95 kB / 0.7197 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4962, allocations: 15.94 kB / 0.7197 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.4965, allocations: 159.7 kB / 0.7199 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.4968, allocations: 0.6846 MB / 0.7206 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.4969, allocations: 256 / 0.7206 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.4969, allocations: 15.38 kB / 0.7206 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4969, allocations: 0 / 0.7206 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.003137/0.5, allocations: 0.988 MB / 0.7215 GB, free: 14.68 MB / 0.5606 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)