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.002171/0.002171, allocations: 103.3 kB / 16.27 MB, free: 5.973 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.00223/0.00223, allocations: 187.8 kB / 17.19 MB, free: 5.613 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8375/0.8375, allocations: 135.2 MB / 426.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001892, allocations: 59.91 kB / 0.506 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3437, allocations: 80.93 MB / 0.5851 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002712/0.3464, allocations: 1.484 MB / 0.5865 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.4918, allocations: 132.1 MB / 0.7155 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.492, allocations: 0 / 0.7155 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.492, allocations: 3.938 kB / 0.7155 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.4921, allocations: 19.84 kB / 0.7155 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.4925, allocations: 67.66 kB / 0.7156 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.4926, allocations: 47.8 kB / 0.7156 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.4927, allocations: 22.09 kB / 0.7156 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.4928, allocations: 23.92 kB / 0.7157 GB, free: 4.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.324e-05/0.4929, allocations: 23.91 kB / 0.7157 GB, free: 4.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4929, allocations: 4 kB / 0.7157 GB, free: 4.477 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.493, allocations: 15.98 kB / 0.7157 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.493, allocations: 11.94 kB / 0.7157 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.4931, allocations: 23.86 kB / 0.7157 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.4932, allocations: 59.81 kB / 0.7158 GB, free: 4.367 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4933, allocations: 7.984 kB / 0.7158 GB, free: 4.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4933, allocations: 0 / 0.7158 GB, free: 4.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4933, allocations: 0 / 0.7158 GB, free: 4.359 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.0006402/0.4939, allocations: 371.3 kB / 0.7162 GB, free: 3.945 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.494, allocations: 9.109 kB / 0.7162 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.494, allocations: 4.938 kB / 0.7162 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.4942, allocations: 180.2 kB / 0.7163 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4942, allocations: 4.375 kB / 0.7164 GB, free: 3.715 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.4943, allocations: 4.375 kB / 0.7164 GB, free: 3.711 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.4946, allocations: 70.22 kB / 0.7164 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4946, allocations: 192 / 0.7164 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.4946, allocations: 7.938 kB / 0.7164 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4946, allocations: 0 / 0.7164 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.4949, allocations: 67.92 kB / 0.7165 GB, free: 3.562 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.4954, allocations: 284.7 kB / 0.7168 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.4957, allocations: 58.53 kB / 0.7168 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.4958, allocations: 40.86 kB / 0.7169 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.496, allocations: 93.09 kB / 0.717 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4961, allocations: 34.5 kB / 0.717 GB, free: 2.973 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4961, allocations: 0 / 0.717 GB, free: 2.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006063/0.4967, allocations: 141.4 kB / 0.7171 GB, free: 2.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4967, allocations: 51.41 kB / 0.7172 GB, free: 2.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4969, allocations: 113.8 kB / 0.7173 GB, free: 2.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4969, allocations: 29.7 kB / 0.7173 GB, free: 2.609 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.497, allocations: 96.19 kB / 0.7174 GB, free: 2.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.497, allocations: 3.906 kB / 0.7174 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.497, allocations: 21.72 kB / 0.7174 GB, free: 2.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4972, allocations: 318.8 kB / 0.7177 GB, free: 2.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.4974, allocations: 27.97 kB / 0.7178 GB, free: 2.133 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4975, allocations: 31.97 kB / 0.7178 GB, free: 2.102 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.4978, allocations: 80.98 kB / 0.7179 GB, free: 2.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4978, allocations: 0 / 0.7179 GB, free: 2.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003328/0.4981, allocations: 101.5 kB / 0.718 GB, free: 1.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4982, allocations: 4 kB / 0.718 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4982, allocations: 0 / 0.718 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4982, allocations: 0 / 0.718 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.4983, allocations: 19.98 kB / 0.718 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4983, allocations: 3.984 kB / 0.718 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.4984, allocations: 15.92 kB / 0.718 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.4984, allocations: 0 / 0.718 GB, free: 1.871 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 0.0001141/0.4985, allocations: 117.8 kB / 0.7181 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.4986, allocations: 3.984 kB / 0.7181 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.499, allocations: 117.4 kB / 0.7182 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.499, allocations: 0 / 0.7182 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.499, allocations: 4 kB / 0.7182 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.499, allocations: 0 / 0.7182 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.4992, allocations: 177.6 kB / 0.7184 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4992, allocations: 0 / 0.7184 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.64e-05/0.4993, allocations: 15.98 kB / 0.7184 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4993, allocations: 3.938 kB / 0.7184 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4993, allocations: 4 kB / 0.7184 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4993, allocations: 0 / 0.7184 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4994, allocations: 0 / 0.7184 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.4997, allocations: 203.3 kB / 0.7186 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.4998, allocations: 81.02 kB / 0.7187 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.4998, allocations: 4 kB / 0.7187 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4999, allocations: 11.98 kB / 0.7187 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.5, allocations: 7.984 kB / 0.7187 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.5, allocations: 4 kB / 0.7187 GB, free: 1.031 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.5001, allocations: 87.28 kB / 0.7188 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5001, allocations: 3.938 kB / 0.7188 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002334/0.5003, allocations: 15.98 kB / 0.7188 GB, free: 0.9258 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.0001854/0.5005, allocations: 103.2 kB / 0.7189 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003627/0.5009, allocations: 71.91 kB / 0.719 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5009, allocations: 0 / 0.719 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.5011, allocations: 39.91 kB / 0.719 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.5014, allocations: 22.11 kB / 0.719 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.5018, allocations: 173.5 kB / 0.7192 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.5022, allocations: 0.6846 MB / 0.7199 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.5022, allocations: 11.44 kB / 0.7199 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5022, allocations: 4 kB / 0.7199 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.002616/0.5048, allocations: 0.9335 MB / 0.7208 GB, free: 14.82 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)