Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.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.7.0.x_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.005199/0.005199, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00134/0.00134, allocations: 195.5 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 63.91 kB / 0.7258 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4894, allocations: 104.7 MB / 0.828 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001924/0.4913, allocations: 1.274 MB / 0.8293 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.1249/0.6162, allocations: 132 MB / 0.9582 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.6163, allocations: 0 / 0.9582 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.6164, allocations: 0 / 0.9582 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.6164, allocations: 7.938 kB / 0.9582 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.6168, allocations: 59.11 kB / 0.9583 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.6169, allocations: 23.86 kB / 0.9583 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.6169, allocations: 4 kB / 0.9583 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.617, allocations: 4 kB / 0.9583 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.617, allocations: 15.91 kB / 0.9583 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.617, allocations: 4 kB / 0.9583 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.6171, allocations: 15.98 kB / 0.9583 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.6171, allocations: 0 / 0.9583 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.6172, allocations: 11.94 kB / 0.9584 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.606e-05/0.6173, allocations: 19.98 kB / 0.9584 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6173, allocations: 0 / 0.9584 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6173, allocations: 0 / 0.9584 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.6173, allocations: 0 / 0.9584 GB, free: 12.64 MB / 0.7637 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.0003824/0.6177, allocations: 333.9 kB / 0.9587 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.6177, allocations: 8.031 kB / 0.9587 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.6178, allocations: 12.78 kB / 0.9587 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.6179, allocations: 164.4 kB / 0.9589 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.618, allocations: 38.27 kB / 0.9589 GB, free: 12 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.618, allocations: 384 / 0.9589 GB, free: 12 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.6181, allocations: 38.25 kB / 0.9589 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.6181, allocations: 3.938 kB / 0.959 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.6181, allocations: 0 / 0.959 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.6182, allocations: 0 / 0.959 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.6182, allocations: 15.98 kB / 0.959 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.6184, allocations: 153.7 kB / 0.9591 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.774e-05/0.6185, allocations: 34.61 kB / 0.9591 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.6185, allocations: 12.84 kB / 0.9592 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.6187, allocations: 93.09 kB / 0.9592 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.6187, allocations: 30.56 kB / 0.9593 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.6187, allocations: 0 / 0.9593 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0002208/0.619, allocations: 69.55 kB / 0.9593 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.619, allocations: 55.34 kB / 0.9594 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.6191, allocations: 93.86 kB / 0.9595 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.6191, allocations: 25.7 kB / 0.9595 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.6191, allocations: 88.12 kB / 0.9596 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.6192, allocations: 15.83 kB / 0.9596 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.6192, allocations: 17.62 kB / 0.9596 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.6193, allocations: 314.8 kB / 0.9599 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.6193, allocations: 8 kB / 0.9599 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.6194, allocations: 8.359 kB / 0.9599 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.066e-05/0.6195, allocations: 28.92 kB / 0.96 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6195, allocations: 0 / 0.96 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.6196, allocations: 49.62 kB / 0.96 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.6196, allocations: 11.94 kB / 0.96 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6196, allocations: 4 kB / 0.96 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6196, allocations: 0 / 0.96 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.6197, allocations: 11.98 kB / 0.96 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6197, allocations: 0 / 0.96 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.6198, allocations: 7.938 kB / 0.9601 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.6198, allocations: 0 / 0.9601 GB, free: 10.68 MB / 0.7637 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 6.328e-05/0.6198, allocations: 110.9 kB / 0.9602 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.6199, allocations: 7.938 kB / 0.9602 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.62, allocations: 53.17 kB / 0.9602 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.62, allocations: 4 kB / 0.9602 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.62, allocations: 0 / 0.9602 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.62, allocations: 3.938 kB / 0.9602 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.229e-05/0.6201, allocations: 153.7 kB / 0.9604 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6202, allocations: 0 / 0.9604 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.6202, allocations: 8 kB / 0.9604 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.6202, allocations: 3.938 kB / 0.9604 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.6202, allocations: 0 / 0.9604 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.6202, allocations: 0 / 0.9604 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6202, allocations: 3.984 kB / 0.9604 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.6204, allocations: 77.12 kB / 0.9605 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.6204, allocations: 81.02 kB / 0.9605 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.6204, allocations: 11.92 kB / 0.9605 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.61e-05/0.6205, allocations: 0 / 0.9605 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.6205, allocations: 0 / 0.9605 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.6205, allocations: 0 / 0.9605 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.6206, allocations: 83.28 kB / 0.9606 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.934e-06/0.6206, allocations: 0 / 0.9606 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0001891/0.6208, allocations: 19.94 kB / 0.9606 GB, free: 9.961 MB / 0.7637 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.0001376/0.6209, allocations: 115.1 kB / 0.9608 GB, free: 9.836 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.621, allocations: 23.97 kB / 0.9608 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6211, allocations: 4 kB / 0.9608 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.6211, allocations: 4 kB / 0.9608 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.6213, allocations: 7.984 kB / 0.9608 GB, free: 9.797 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.6216, allocations: 136.3 kB / 0.9609 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.6218, allocations: 0.6766 MB / 0.9616 GB, free: 8.938 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.6219, allocations: 3.984 kB / 0.9616 GB, free: 8.934 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.6219, allocations: 15.44 kB / 0.9616 GB, free: 8.918 MB / 0.7637 GB Notification: Performance of SimCode: time 1.633e-06/0.6219, allocations: 0 / 0.9616 GB, free: 8.918 MB / 0.7637 GB Notification: Performance of Templates: time 0.002367/0.6243, allocations: 0.5226 MB / 0.9621 GB, free: 8.402 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)