Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 288.4 MB / 303.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 187.2 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 0.6307 GB, free: 9.859 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008317/0.000832, allocations: 90.3 kB / 0.7441 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004492, allocations: 11.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2576, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001326/0.259, allocations: 0.9979 MB / 0.9806 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6663/0.9253, allocations: 119.6 MB / 1.097 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.9254, allocations: 0.7812 kB / 1.097 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.9254, allocations: 0 / 1.097 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.9255, allocations: 5.312 kB / 1.097 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.9259, allocations: 48.28 kB / 1.097 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.405e-05/0.926, allocations: 19.52 kB / 1.097 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.9261, allocations: 2.031 kB / 1.097 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.9261, allocations: 14.02 kB / 1.097 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.9262, allocations: 10.44 kB / 1.097 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.9262, allocations: 1.75 kB / 1.097 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.9263, allocations: 12.2 kB / 1.097 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.9264, allocations: 4.562 kB / 1.097 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.9265, allocations: 28.67 kB / 1.097 GB, free: 18.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.078e-05/0.9266, allocations: 17.14 kB / 1.098 GB, free: 18.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9266, allocations: 0.6875 kB / 1.098 GB, free: 18.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9267, allocations: 4 kB / 1.098 GB, free: 18.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9267, allocations: 0.7812 kB / 1.098 GB, free: 18.84 MB / 0.698 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.0004508/0.9271, allocations: 333.6 kB / 1.098 GB, free: 18.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.9272, allocations: 8.875 kB / 1.098 GB, free: 18.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.9272, allocations: 6.719 kB / 1.098 GB, free: 18.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.9274, allocations: 168.4 kB / 1.098 GB, free: 18.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/0.9275, allocations: 32.78 kB / 1.098 GB, free: 18.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.9275, allocations: 1.812 kB / 1.098 GB, free: 18.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.9276, allocations: 46.27 kB / 1.098 GB, free: 18.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.9276, allocations: 0 / 1.098 GB, free: 18.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.9277, allocations: 1.25 kB / 1.098 GB, free: 18.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.9277, allocations: 2.203 kB / 1.098 GB, free: 18.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.593e-05/0.9278, allocations: 10.22 kB / 1.098 GB, free: 18.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.9279, allocations: 158.1 kB / 1.098 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.928, allocations: 29.81 kB / 1.098 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.9281, allocations: 20.36 kB / 1.098 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.9283, allocations: 89.88 kB / 1.098 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.9283, allocations: 34.81 kB / 1.098 GB, free: 17.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.9283, allocations: 3.938 kB / 1.098 GB, free: 17.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002473/0.9286, allocations: 53.88 kB / 1.098 GB, free: 17.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.9286, allocations: 56.59 kB / 1.099 GB, free: 17.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.9287, allocations: 98.66 kB / 1.099 GB, free: 17.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.9287, allocations: 25.7 kB / 1.099 GB, free: 17.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.9288, allocations: 81.2 kB / 1.099 GB, free: 17.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.9288, allocations: 8.781 kB / 1.099 GB, free: 17.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.9288, allocations: 0 / 1.099 GB, free: 17.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9289, allocations: 318.6 kB / 1.099 GB, free: 17.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.929, allocations: 6.312 kB / 1.099 GB, free: 17.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/0.929, allocations: 11.69 kB / 1.099 GB, free: 17.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.944e-05/0.9291, allocations: 14.02 kB / 1.099 GB, free: 17.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9291, allocations: 0.75 kB / 1.099 GB, free: 17.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001283/0.9292, allocations: 55.3 kB / 1.099 GB, free: 17.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.9293, allocations: 5.375 kB / 1.099 GB, free: 17.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.9293, allocations: 0 / 1.099 GB, free: 17.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9293, allocations: 3.281 kB / 1.099 GB, free: 17.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.9294, allocations: 5.156 kB / 1.099 GB, free: 17.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.9294, allocations: 0.75 kB / 1.099 GB, free: 17.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.9295, allocations: 10.84 kB / 1.099 GB, free: 17.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.9295, allocations: 0.75 kB / 1.099 GB, free: 17.16 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.21e-05/0.9296, allocations: 116.7 kB / 1.099 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.9296, allocations: 3.484 kB / 1.099 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.9298, allocations: 59.83 kB / 1.099 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9298, allocations: 0.5625 kB / 1.099 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9298, allocations: 0.5625 kB / 1.099 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9298, allocations: 4.625 kB / 1.099 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.125e-05/0.9299, allocations: 161.1 kB / 1.099 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.9299, allocations: 0 / 1.099 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.9299, allocations: 5.5 kB / 1.099 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.93, allocations: 3.188 kB / 1.099 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.93, allocations: 0.875 kB / 1.099 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.93, allocations: 0.9375 kB / 1.099 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.93, allocations: 0.5469 kB / 1.099 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.9301, allocations: 77.91 kB / 1.1 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.9302, allocations: 88.69 kB / 1.1 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.9302, allocations: 3.938 kB / 1.1 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.9302, allocations: 4.094 kB / 1.1 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.9303, allocations: 2.188 kB / 1.1 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.9303, allocations: 4.172 kB / 1.1 GB, free: 16.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.58e-05/0.9304, allocations: 79.23 kB / 1.1 GB, free: 16.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.9304, allocations: 0 / 1.1 GB, free: 16.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001935/0.9306, allocations: 8.438 kB / 1.1 GB, free: 16.55 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.9308, allocations: 109.5 kB / 1.1 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.931, allocations: 20 kB / 1.1 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.931, allocations: 0 / 1.1 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.931, allocations: 16.98 kB / 1.1 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.9313, allocations: 7.672 kB / 1.1 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.9317, allocations: 142.7 kB / 1.1 GB, free: 16.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.9321, allocations: 0.675 MB / 1.101 GB, free: 15.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.902e-05/0.9321, allocations: 10.75 kB / 1.101 GB, free: 15.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.9322, allocations: 12.03 kB / 1.101 GB, free: 15.63 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9322, allocations: 4 kB / 1.101 GB, free: 15.63 MB / 0.698 GB Notification: Performance of Templates: time 0.002713/0.9349, allocations: 479.1 kB / 1.101 GB, free: 15.57 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)