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.001269/0.001268, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001321/0.001322, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7903/0.7903, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.89 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3732, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002547/0.3758, allocations: 1.268 MB / 0.587 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1376/0.5134, allocations: 132 MB / 0.7159 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.5135, allocations: 0 / 0.7159 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.5137, allocations: 0 / 0.7159 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.5137, allocations: 7.938 kB / 0.7159 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.5141, allocations: 63.66 kB / 0.716 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.5142, allocations: 15.94 kB / 0.716 GB, free: 4.723 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.5143, allocations: 4 kB / 0.716 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.5143, allocations: 15.86 kB / 0.716 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.5144, allocations: 7.984 kB / 0.716 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.5144, allocations: 0 / 0.716 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.5145, allocations: 19.92 kB / 0.7161 GB, free: 4.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.5145, allocations: 3.938 kB / 0.7161 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.5146, allocations: 8 kB / 0.7161 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.5147, allocations: 29.73 kB / 0.7161 GB, free: 4.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5147, allocations: 0 / 0.7161 GB, free: 4.637 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5147, allocations: 4 kB / 0.7161 GB, free: 4.633 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5147, allocations: 0 / 0.7161 GB, free: 4.633 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.0004766/0.5152, allocations: 335.3 kB / 0.7164 GB, free: 4.258 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.5153, allocations: 9.109 kB / 0.7164 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.5153, allocations: 4.938 kB / 0.7164 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.5154, allocations: 164.4 kB / 0.7166 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.5155, allocations: 30.27 kB / 0.7166 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.5155, allocations: 384 / 0.7166 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.5157, allocations: 38.25 kB / 0.7167 GB, free: 3.969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5157, allocations: 3.938 kB / 0.7167 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5157, allocations: 7.938 kB / 0.7167 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5157, allocations: 7.984 kB / 0.7167 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.5158, allocations: 8 kB / 0.7167 GB, free: 3.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.516, allocations: 149.7 kB / 0.7168 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.5161, allocations: 38.61 kB / 0.7169 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.5161, allocations: 12.86 kB / 0.7169 GB, free: 3.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.5163, allocations: 93.17 kB / 0.717 GB, free: 3.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.5163, allocations: 34.56 kB / 0.717 GB, free: 3.531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 3.577e-06/0.5164, allocations: 3.984 kB / 0.717 GB, free: 3.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002216/0.5166, allocations: 69.45 kB / 0.7171 GB, free: 3.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.5166, allocations: 55.41 kB / 0.7171 GB, free: 3.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.5167, allocations: 101.8 kB / 0.7172 GB, free: 3.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.5167, allocations: 25.7 kB / 0.7172 GB, free: 3.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.5168, allocations: 80.14 kB / 0.7173 GB, free: 3.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.5168, allocations: 15.78 kB / 0.7173 GB, free: 3.148 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.5169, allocations: 13.72 kB / 0.7173 GB, free: 3.129 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.517, allocations: 314.8 kB / 0.7177 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.5171, allocations: 7.984 kB / 0.7177 GB, free: 2.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.5171, allocations: 8 kB / 0.7177 GB, free: 2.797 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.5172, allocations: 24.78 kB / 0.7177 GB, free: 2.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5172, allocations: 0 / 0.7177 GB, free: 2.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001243/0.5173, allocations: 49.69 kB / 0.7177 GB, free: 2.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5173, allocations: 7.938 kB / 0.7177 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5173, allocations: 0 / 0.7177 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.5174, allocations: 7.922 kB / 0.7178 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/0.5174, allocations: 8 kB / 0.7178 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5175, allocations: 4 kB / 0.7178 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.5175, allocations: 0 / 0.7178 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5175, allocations: 4 kB / 0.7178 GB, free: 2.684 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 7.385e-05/0.5176, allocations: 111.2 kB / 0.7179 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.5176, allocations: 3.938 kB / 0.7179 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.5178, allocations: 69.02 kB / 0.7179 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5178, allocations: 0 / 0.7179 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5178, allocations: 0 / 0.7179 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5178, allocations: 4 kB / 0.7179 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.42e-05/0.5179, allocations: 153.7 kB / 0.7181 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5179, allocations: 0 / 0.7181 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.5179, allocations: 7.984 kB / 0.7181 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.518, allocations: 3.938 kB / 0.7181 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.518, allocations: 4 kB / 0.7181 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.518, allocations: 0 / 0.7181 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.518, allocations: 0 / 0.7181 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.5181, allocations: 81.62 kB / 0.7182 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.5182, allocations: 81.09 kB / 0.7183 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.5182, allocations: 3.938 kB / 0.7183 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.554e-05/0.5182, allocations: 0 / 0.7183 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.5183, allocations: 4 kB / 0.7183 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.5183, allocations: 4.047 kB / 0.7183 GB, free: 2.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.5183, allocations: 87.25 kB / 0.7184 GB, free: 1.977 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.643e-06/0.5183, allocations: 0 / 0.7184 GB, free: 1.977 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001841/0.5185, allocations: 15.94 kB / 0.7184 GB, free: 1.961 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.0001314/0.5187, allocations: 111.2 kB / 0.7185 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.5188, allocations: 19.98 kB / 0.7185 GB, free: 1.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5188, allocations: 0 / 0.7185 GB, free: 1.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.5189, allocations: 11.94 kB / 0.7185 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.5191, allocations: 15.97 kB / 0.7185 GB, free: 1.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.5194, allocations: 125.5 kB / 0.7186 GB, free: 1.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.5196, allocations: 0.6806 MB / 0.7193 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.5197, allocations: 0 / 0.7193 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.5197, allocations: 11.44 kB / 0.7193 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5197, allocations: 0 / 0.7193 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of Templates: time 0.002529/0.5222, allocations: 0.5192 MB / 0.7198 GB, free: 428 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)