Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004608/0.004608, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001043/0.001044, allocations: 196.6 kB / 16.68 MB, free: 5.953 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.225/1.225, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.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.341/1.341, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.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.001411/0.001411, allocations: 67.89 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1978, allocations: 104.7 MB / 0.828 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002777/0.2006, allocations: 1.49 MB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5241/0.7247, allocations: 132.1 MB / 0.9585 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.7248, allocations: 1.594 kB / 0.9585 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.7249, allocations: 7.938 kB / 0.9585 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.481e-05/0.7249, allocations: 9.188 kB / 0.9585 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.7253, allocations: 68.16 kB / 0.9585 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.7253, allocations: 51.17 kB / 0.9586 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.7254, allocations: 15.08 kB / 0.9586 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.7255, allocations: 19.31 kB / 0.9586 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.7255, allocations: 32.72 kB / 0.9586 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.7256, allocations: 4.406 kB / 0.9587 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.491e-05/0.7256, allocations: 22.45 kB / 0.9587 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.7257, allocations: 8.219 kB / 0.9587 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.7257, allocations: 23.16 kB / 0.9587 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.7258, allocations: 58.33 kB / 0.9588 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.7258, allocations: 3.938 kB / 0.9588 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7258, allocations: 0 / 0.9588 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.7259, allocations: 1.156 kB / 0.9588 GB, free: 13.58 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004489/0.7263, allocations: 378.4 kB / 0.9591 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.7263, allocations: 10.16 kB / 0.9591 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.7264, allocations: 8.438 kB / 0.9591 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.776e-05/0.7265, allocations: 170.6 kB / 0.9593 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.7265, allocations: 5.672 kB / 0.9593 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.7265, allocations: 1.719 kB / 0.9593 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.7267, allocations: 82.38 kB / 0.9594 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.7268, allocations: 5.469 kB / 0.9594 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.7268, allocations: 3.938 kB / 0.9594 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.7268, allocations: 1.312 kB / 0.9594 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.7271, allocations: 69.03 kB / 0.9595 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.7274, allocations: 277.2 kB / 0.9597 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.7276, allocations: 64.03 kB / 0.9598 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.7277, allocations: 36.8 kB / 0.9598 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.7279, allocations: 89.97 kB / 0.9599 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.7279, allocations: 41 kB / 0.96 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.7279, allocations: 0 / 0.96 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005173/0.7284, allocations: 127.7 kB / 0.9601 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.7285, allocations: 55.34 kB / 0.9601 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.7286, allocations: 122.3 kB / 0.9602 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.7286, allocations: 32.89 kB / 0.9603 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.7286, allocations: 90.3 kB / 0.9604 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.7287, allocations: 11.41 kB / 0.9604 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.7287, allocations: 15.84 kB / 0.9604 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.7288, allocations: 321.3 kB / 0.9607 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.7289, allocations: 30.86 kB / 0.9607 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.729, allocations: 40.45 kB / 0.9608 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.7293, allocations: 64.75 kB / 0.9608 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7293, allocations: 0 / 0.9608 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002873/0.7296, allocations: 109.3 kB / 0.9609 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.7296, allocations: 4.719 kB / 0.9609 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.7296, allocations: 1.219 kB / 0.9609 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.7296, allocations: 0 / 0.9609 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.7298, allocations: 16.69 kB / 0.961 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.7298, allocations: 0 / 0.961 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.7298, allocations: 15.92 kB / 0.961 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7299, allocations: 1.25 kB / 0.961 GB, free: 11.8 MB / 0.7325 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.624e-05/0.7299, allocations: 119.3 kB / 0.9611 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.73, allocations: 10.03 kB / 0.9611 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.7303, allocations: 101.5 kB / 0.9612 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7303, allocations: 2.438 kB / 0.9612 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7303, allocations: 1.781 kB / 0.9612 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7303, allocations: 0 / 0.9612 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.7305, allocations: 180.8 kB / 0.9614 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7305, allocations: 2.438 kB / 0.9614 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.663e-05/0.7306, allocations: 16.34 kB / 0.9614 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7306, allocations: 3.984 kB / 0.9614 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.7306, allocations: 0 / 0.9614 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7306, allocations: 0.8438 kB / 0.9614 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7306, allocations: 0 / 0.9614 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.7309, allocations: 201.8 kB / 0.9616 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.731, allocations: 79.08 kB / 0.9617 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.731, allocations: 5.078 kB / 0.9617 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.7311, allocations: 10.62 kB / 0.9617 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.7311, allocations: 6.125 kB / 0.9617 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.7311, allocations: 2.438 kB / 0.9617 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.7312, allocations: 94 kB / 0.9618 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7312, allocations: 0 / 0.9618 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002155/0.7314, allocations: 12.41 kB / 0.9618 GB, free: 11.12 MB / 0.7325 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.0001225/0.7315, allocations: 115.8 kB / 0.9619 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.7319, allocations: 65.52 kB / 0.962 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7319, allocations: 9.344 kB / 0.962 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.732, allocations: 33.33 kB / 0.962 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.7323, allocations: 19.22 kB / 0.962 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.7326, allocations: 158.9 kB / 0.9622 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.7328, allocations: 0.6911 MB / 0.9628 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.7329, allocations: 3.125 kB / 0.9628 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.7329, allocations: 13.56 kB / 0.9629 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.7329, allocations: 0 / 0.9629 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.002831/0.7357, allocations: 0.9973 MB / 0.9638 GB, free: 10.1 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)