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.001161/0.001161, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001258/0.001258, allocations: 189.7 kB / 17.3 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8151/0.8151, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002469/0.002469, allocations: 59.91 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3776, allocations: 80.9 MB / 0.5858 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002128/0.3798, allocations: 1.263 MB / 0.587 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1414/0.5212, allocations: 132 MB / 0.7159 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.5213, allocations: 3.938 kB / 0.7159 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.5214, allocations: 7.984 kB / 0.716 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.5215, allocations: 7.938 kB / 0.716 GB, free: 4.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.522, allocations: 51.73 kB / 0.716 GB, free: 4.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.544e-05/0.5221, allocations: 27.8 kB / 0.716 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.36e-05/0.5221, allocations: 7.984 kB / 0.716 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.5222, allocations: 8 kB / 0.7161 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.5223, allocations: 7.984 kB / 0.7161 GB, free: 4.711 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.5223, allocations: 0 / 0.7161 GB, free: 4.711 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.5224, allocations: 12 kB / 0.7161 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.5224, allocations: 11.92 kB / 0.7161 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.5225, allocations: 4 kB / 0.7161 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.5226, allocations: 25.75 kB / 0.7161 GB, free: 4.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5226, allocations: 4 kB / 0.7161 GB, free: 4.656 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5226, allocations: 0 / 0.7161 GB, free: 4.656 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.5226, allocations: 0 / 0.7161 GB, free: 4.656 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.0004621/0.5231, allocations: 335.3 kB / 0.7164 GB, free: 4.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5231, allocations: 9.109 kB / 0.7164 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.5232, allocations: 0.9375 kB / 0.7164 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5233, allocations: 180.3 kB / 0.7166 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.5234, allocations: 26.27 kB / 0.7166 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.5235, allocations: 4.375 kB / 0.7166 GB, free: 4.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.5236, allocations: 38.25 kB / 0.7167 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5236, allocations: 3.938 kB / 0.7167 GB, free: 3.977 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.5236, allocations: 0 / 0.7167 GB, free: 3.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5236, allocations: 4 kB / 0.7167 GB, free: 3.973 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.463e-05/0.5237, allocations: 7.984 kB / 0.7167 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.5239, allocations: 157.7 kB / 0.7168 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.524, allocations: 38.52 kB / 0.7169 GB, free: 3.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.524, allocations: 16.94 kB / 0.7169 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.5242, allocations: 89.09 kB / 0.717 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.5242, allocations: 30.56 kB / 0.717 GB, free: 3.551 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5242, allocations: 7.938 kB / 0.717 GB, free: 3.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002326/0.5245, allocations: 65.52 kB / 0.7171 GB, free: 3.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.5245, allocations: 55.34 kB / 0.7171 GB, free: 3.406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.5246, allocations: 98.05 kB / 0.7172 GB, free: 3.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.5246, allocations: 25.7 kB / 0.7173 GB, free: 3.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.486e-05/0.5246, allocations: 80.14 kB / 0.7173 GB, free: 3.188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.5247, allocations: 7.844 kB / 0.7173 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.5247, allocations: 21.7 kB / 0.7174 GB, free: 3.152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.5248, allocations: 314.8 kB / 0.7177 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.5249, allocations: 4 kB / 0.7177 GB, free: 2.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.5249, allocations: 20.11 kB / 0.7177 GB, free: 2.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/0.525, allocations: 24.92 kB / 0.7177 GB, free: 2.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.525, allocations: 0 / 0.7177 GB, free: 2.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001113/0.5251, allocations: 49.69 kB / 0.7178 GB, free: 2.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5251, allocations: 7.938 kB / 0.7178 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5252, allocations: 11.94 kB / 0.7178 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5252, allocations: 0 / 0.7178 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.5252, allocations: 8 kB / 0.7178 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.5253, allocations: 3.984 kB / 0.7178 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.5253, allocations: 0 / 0.7178 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.5253, allocations: 0 / 0.7178 GB, free: 2.699 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.434e-05/0.5254, allocations: 109.8 kB / 0.7179 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.5254, allocations: 3.938 kB / 0.7179 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.5256, allocations: 65.08 kB / 0.718 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5256, allocations: 4 kB / 0.718 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5256, allocations: 0 / 0.718 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5256, allocations: 0 / 0.718 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.689e-05/0.5257, allocations: 153.7 kB / 0.7181 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5257, allocations: 0 / 0.7181 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.5257, allocations: 7.938 kB / 0.7181 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5258, allocations: 3.938 kB / 0.7181 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.5258, allocations: 0 / 0.7181 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5258, allocations: 4 kB / 0.7181 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5258, allocations: 4 kB / 0.7181 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.5259, allocations: 69.11 kB / 0.7182 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.526, allocations: 85.11 kB / 0.7183 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.526, allocations: 11.86 kB / 0.7183 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.708e-05/0.526, allocations: 0 / 0.7183 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.5261, allocations: 4 kB / 0.7183 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.5261, allocations: 0 / 0.7183 GB, free: 2.082 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.5261, allocations: 83.28 kB / 0.7184 GB, free: 2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5261, allocations: 0 / 0.7184 GB, free: 2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001868/0.5263, allocations: 12 kB / 0.7184 GB, free: 1.988 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.0001481/0.5265, allocations: 112.5 kB / 0.7185 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.5266, allocations: 23.97 kB / 0.7185 GB, free: 1.848 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5266, allocations: 0 / 0.7185 GB, free: 1.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.695e-05/0.5267, allocations: 12.38 kB / 0.7185 GB, free: 1.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.5269, allocations: 8 kB / 0.7185 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.5272, allocations: 130.1 kB / 0.7187 GB, free: 1.676 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.5274, allocations: 0.6805 MB / 0.7193 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.5274, allocations: 4 kB / 0.7193 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.5275, allocations: 11.44 kB / 0.7193 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5275, allocations: 0 / 0.7193 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of Templates: time 0.002529/0.53, allocations: 0.5243 MB / 0.7198 GB, free: 452 kB / 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)