Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009616/0.0009616, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00867/0.00867, allocations: 168.9 kB / 16.26 MB, free: 6.66 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 18.62 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3619, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00131/0.3633, allocations: 1.012 MB / 1.075 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1571/0.5204, allocations: 128.5 MB / 1.201 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.5204, allocations: 0 / 1.201 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.5205, allocations: 0 / 1.201 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.5205, allocations: 11.92 kB / 1.201 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.5209, allocations: 47.8 kB / 1.201 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.521, allocations: 23.92 kB / 1.201 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.521, allocations: 0 / 1.201 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.521, allocations: 8 kB / 1.201 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.5211, allocations: 15.92 kB / 1.201 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.5211, allocations: 0 / 1.201 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.5212, allocations: 19.94 kB / 1.201 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.5212, allocations: 3.984 kB / 1.201 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.5213, allocations: 33.64 kB / 1.201 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.5214, allocations: 28.19 kB / 1.201 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5214, allocations: 0 / 1.201 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5214, allocations: 0 / 1.201 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.5214, allocations: 0 / 1.201 GB, free: 5.352 MB / 0.9512 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.0003955/0.5218, allocations: 323.6 kB / 1.201 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.5219, allocations: 11.97 kB / 1.201 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.5219, allocations: 12.84 kB / 1.201 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.522, allocations: 168.3 kB / 1.201 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.5221, allocations: 34.27 kB / 1.201 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.5221, allocations: 4.359 kB / 1.201 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.5223, allocations: 34.25 kB / 1.201 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5223, allocations: 7.875 kB / 1.201 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5223, allocations: 4 kB / 1.201 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5223, allocations: 0 / 1.201 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.5224, allocations: 15.98 kB / 1.201 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.5226, allocations: 157.7 kB / 1.202 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.5227, allocations: 26.58 kB / 1.202 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.5227, allocations: 12.94 kB / 1.202 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.5229, allocations: 89.09 kB / 1.202 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.5229, allocations: 42.56 kB / 1.202 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.523, allocations: 0 / 1.202 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002272/0.5232, allocations: 61.55 kB / 1.202 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.5232, allocations: 51.41 kB / 1.202 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.5233, allocations: 93.86 kB / 1.202 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.5233, allocations: 29.7 kB / 1.202 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.5234, allocations: 80.14 kB / 1.202 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.5234, allocations: 7.906 kB / 1.202 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.5234, allocations: 17.64 kB / 1.202 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5235, allocations: 314.8 kB / 1.202 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.5236, allocations: 8 kB / 1.202 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.5236, allocations: 7.984 kB / 1.202 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.016e-05/0.5237, allocations: 28.78 kB / 1.202 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5237, allocations: 0 / 1.202 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001241/0.5239, allocations: 49.59 kB / 1.202 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5239, allocations: 11.94 kB / 1.202 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5239, allocations: 4 kB / 1.202 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5239, allocations: 0 / 1.202 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.524, allocations: 4 kB / 1.202 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.524, allocations: 0 / 1.202 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.524, allocations: 7.984 kB / 1.202 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.5241, allocations: 0.5156 kB / 1.202 GB, free: 3.414 MB / 0.9512 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.977e-05/0.5241, allocations: 113.8 kB / 1.203 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.5242, allocations: 7.938 kB / 1.203 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.5243, allocations: 65.09 kB / 1.203 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5243, allocations: 0 / 1.203 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5243, allocations: 0 / 1.203 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5244, allocations: 0 / 1.203 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.5245, allocations: 153.7 kB / 1.203 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5245, allocations: 0 / 1.203 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.5245, allocations: 12 kB / 1.203 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5245, allocations: 3.938 kB / 1.203 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.5245, allocations: 0 / 1.203 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5245, allocations: 0 / 1.203 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5246, allocations: 4 kB / 1.203 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.5247, allocations: 81.05 kB / 1.203 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.5248, allocations: 81.02 kB / 1.203 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.5248, allocations: 7.938 kB / 1.203 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/0.5248, allocations: 3.984 kB / 1.203 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.5249, allocations: 0 / 1.203 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.5249, allocations: 4 kB / 1.203 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.5249, allocations: 79.28 kB / 1.203 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5249, allocations: 0 / 1.203 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001944/0.5251, allocations: 19.94 kB / 1.203 GB, free: 2.684 MB / 0.9512 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.0001585/0.5253, allocations: 107.2 kB / 1.203 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.5254, allocations: 15.98 kB / 1.203 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5254, allocations: 4 kB / 1.203 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.5255, allocations: 15.92 kB / 1.203 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.5257, allocations: 13.14 kB / 1.203 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.526, allocations: 148.5 kB / 1.203 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.5262, allocations: 0.677 MB / 1.204 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.343e-05/0.5263, allocations: 11.98 kB / 1.204 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.5263, allocations: 7.438 kB / 1.204 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.5263, allocations: 0 / 1.204 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of Templates: time 0.002581/0.5289, allocations: 489.5 kB / 1.204 GB, free: 1.156 MB / 0.9512 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)