Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001104/0.001104, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.001152/0.001152, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8237/0.8237, allocations: 132.2 MB / 423.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 55.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.367, allocations: 80.19 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00213/0.3691, allocations: 1.264 MB / 0.5827 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1427/0.5119, allocations: 132 MB / 0.7117 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.512, allocations: 0 / 0.7117 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.5121, allocations: 0 / 0.7117 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.5122, allocations: 3.938 kB / 0.7117 GB, free: 8.473 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.5126, allocations: 51.73 kB / 0.7117 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.5127, allocations: 23.86 kB / 0.7117 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.5128, allocations: 11.98 kB / 0.7118 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.5128, allocations: 15.92 kB / 0.7118 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.5129, allocations: 4 kB / 0.7118 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.5129, allocations: 0 / 0.7118 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.513, allocations: 15.98 kB / 0.7118 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.5131, allocations: 0 / 0.7118 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.5131, allocations: 11.94 kB / 0.7118 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.5132, allocations: 25.73 kB / 0.7118 GB, free: 8.316 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5132, allocations: 0 / 0.7118 GB, free: 8.316 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.599e-06/0.5132, allocations: 0 / 0.7118 GB, free: 8.316 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.5133, allocations: 3.938 kB / 0.7118 GB, free: 8.312 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.0004904/0.5138, allocations: 343.3 kB / 0.7122 GB, free: 7.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5138, allocations: 12.03 kB / 0.7122 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.5139, allocations: 4.938 kB / 0.7122 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.514, allocations: 160.4 kB / 0.7123 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.5141, allocations: 34.27 kB / 0.7124 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.5141, allocations: 384 / 0.7124 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.5142, allocations: 38.25 kB / 0.7124 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5143, allocations: 3.938 kB / 0.7124 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.5143, allocations: 4 kB / 0.7124 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5143, allocations: 3.984 kB / 0.7124 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.5144, allocations: 15.98 kB / 0.7124 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.5146, allocations: 157.6 kB / 0.7126 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.5147, allocations: 34.61 kB / 0.7126 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.5147, allocations: 12.86 kB / 0.7126 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.5149, allocations: 93.19 kB / 0.7127 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.515, allocations: 30.56 kB / 0.7127 GB, free: 7.199 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.515, allocations: 3.938 kB / 0.7127 GB, free: 7.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002382/0.5152, allocations: 69.45 kB / 0.7128 GB, free: 7.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.5152, allocations: 55.41 kB / 0.7129 GB, free: 7.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.5153, allocations: 89.86 kB / 0.7129 GB, free: 6.957 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.5154, allocations: 33.7 kB / 0.713 GB, free: 6.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.5154, allocations: 84.12 kB / 0.7131 GB, free: 6.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.5154, allocations: 11.84 kB / 0.7131 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.5155, allocations: 13.72 kB / 0.7131 GB, free: 6.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5156, allocations: 318.8 kB / 0.7134 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.561e-05/0.5156, allocations: 7.984 kB / 0.7134 GB, free: 6.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.248e-05/0.5157, allocations: 4 kB / 0.7134 GB, free: 6.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.975e-05/0.5158, allocations: 28.84 kB / 0.7134 GB, free: 6.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5158, allocations: 0 / 0.7134 GB, free: 6.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001207/0.5159, allocations: 49.62 kB / 0.7135 GB, free: 6.383 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5159, allocations: 11.94 kB / 0.7135 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5159, allocations: 0 / 0.7135 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.516, allocations: 0 / 0.7135 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.516, allocations: 7.984 kB / 0.7135 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5161, allocations: 0 / 0.7135 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.5161, allocations: 4 kB / 0.7135 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.5161, allocations: 4 kB / 0.7135 GB, free: 6.355 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.134e-05/0.5162, allocations: 109.8 kB / 0.7136 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.5162, allocations: 11.84 kB / 0.7136 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.5164, allocations: 57.11 kB / 0.7137 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5164, allocations: 0.5625 kB / 0.7137 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5164, allocations: 0 / 0.7137 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5164, allocations: 0 / 0.7137 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.5166, allocations: 153.7 kB / 0.7138 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.5166, allocations: 4 kB / 0.7138 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.5167, allocations: 8 kB / 0.7138 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5167, allocations: 7.922 kB / 0.7138 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.5167, allocations: 0 / 0.7138 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5167, allocations: 0 / 0.7138 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5167, allocations: 7.984 kB / 0.7138 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.5168, allocations: 73.12 kB / 0.7139 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.5169, allocations: 81.09 kB / 0.714 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.5169, allocations: 11.94 kB / 0.714 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.759e-05/0.517, allocations: 0 / 0.714 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.517, allocations: 0 / 0.714 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.517, allocations: 7.938 kB / 0.714 GB, free: 5.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.5171, allocations: 83.27 kB / 0.7141 GB, free: 5.645 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5171, allocations: 0 / 0.7141 GB, free: 5.645 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001937/0.5173, allocations: 15.94 kB / 0.7141 GB, free: 5.629 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.0001673/0.5174, allocations: 111.2 kB / 0.7142 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.5176, allocations: 23.98 kB / 0.7142 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5176, allocations: 0 / 0.7142 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.5177, allocations: 8 kB / 0.7142 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.5179, allocations: 11.38 kB / 0.7143 GB, free: 5.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.5182, allocations: 135.6 kB / 0.7144 GB, free: 5.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.5185, allocations: 0.6807 MB / 0.715 GB, free: 4.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.5186, allocations: 4 kB / 0.7151 GB, free: 4.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.5186, allocations: 7.438 kB / 0.7151 GB, free: 4.594 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.5186, allocations: 0 / 0.7151 GB, free: 4.594 MB / 0.545 GB Notification: Performance of Templates: time 0.002853/0.5214, allocations: 0.514 MB / 0.7156 GB, free: 4.086 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)