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.005055/0.005055, allocations: 103 kB / 15.73 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.001235/0.001235, allocations: 190.7 kB / 16.67 MB, free: 5.957 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.258/1.258, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.389/1.389, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.00142/0.00142, allocations: 67.89 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1835, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002505/0.1861, allocations: 1.49 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5392/0.7253, allocations: 132.1 MB / 0.9585 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.7254, allocations: 1.25 kB / 0.9585 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.7255, allocations: 3.938 kB / 0.9585 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.7255, allocations: 10.91 kB / 0.9585 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.7259, allocations: 66.38 kB / 0.9585 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.726, allocations: 48.52 kB / 0.9586 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.7261, allocations: 19.06 kB / 0.9586 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.7262, allocations: 21.8 kB / 0.9586 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.7262, allocations: 29.44 kB / 0.9586 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.7262, allocations: 3.75 kB / 0.9587 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-05/0.7263, allocations: 21 kB / 0.9587 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.7263, allocations: 6.266 kB / 0.9587 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.7264, allocations: 26.25 kB / 0.9587 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.7265, allocations: 53.62 kB / 0.9588 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7265, allocations: 7.078 kB / 0.9588 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7265, allocations: 0 / 0.9588 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.7265, allocations: 0 / 0.9588 GB, free: 13.62 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.0004767/0.727, allocations: 373.1 kB / 0.9591 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.7271, allocations: 9.219 kB / 0.9591 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.7271, allocations: 8.406 kB / 0.9591 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.7272, allocations: 182.2 kB / 0.9593 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.7273, allocations: 10.66 kB / 0.9593 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.7273, allocations: 1.781 kB / 0.9593 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.7275, allocations: 74.56 kB / 0.9594 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7275, allocations: 192 / 0.9594 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.7275, allocations: 5.219 kB / 0.9594 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.7275, allocations: 1.312 kB / 0.9594 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.7278, allocations: 71.92 kB / 0.9595 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.7281, allocations: 284 kB / 0.9597 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.7283, allocations: 55.14 kB / 0.9598 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.7284, allocations: 39.89 kB / 0.9598 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.7286, allocations: 90.05 kB / 0.9599 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.7286, allocations: 35.22 kB / 0.9599 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.7286, allocations: 0 / 0.9599 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004626/0.7291, allocations: 137.6 kB / 0.9601 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.7291, allocations: 51.41 kB / 0.9601 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.7292, allocations: 121.4 kB / 0.9602 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.7293, allocations: 25.7 kB / 0.9603 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.7293, allocations: 93.42 kB / 0.9604 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.7293, allocations: 9.031 kB / 0.9604 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.7294, allocations: 20.05 kB / 0.9604 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.7295, allocations: 319.9 kB / 0.9607 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.7296, allocations: 32.7 kB / 0.9607 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.7297, allocations: 35.19 kB / 0.9608 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.7299, allocations: 66.45 kB / 0.9608 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7299, allocations: 0 / 0.9608 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002735/0.7302, allocations: 103.8 kB / 0.9609 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7302, allocations: 5.344 kB / 0.9609 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7302, allocations: 2.062 kB / 0.9609 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.7303, allocations: 0 / 0.9609 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.7304, allocations: 23.77 kB / 0.9609 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.7304, allocations: 0 / 0.9609 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.7305, allocations: 15.83 kB / 0.961 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.7305, allocations: 1.375 kB / 0.961 GB, free: 11.84 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.189e-05/0.7305, allocations: 120.2 kB / 0.9611 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.7306, allocations: 7.328 kB / 0.9611 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.7309, allocations: 111.5 kB / 0.9612 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7309, allocations: 2.062 kB / 0.9612 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7309, allocations: 48 / 0.9612 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.7309, allocations: 5.391 kB / 0.9612 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.7311, allocations: 170.9 kB / 0.9614 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7311, allocations: 1.188 kB / 0.9614 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.168e-05/0.7312, allocations: 20.02 kB / 0.9614 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.7312, allocations: 1.844 kB / 0.9614 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.7312, allocations: 0 / 0.9614 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7312, allocations: 4 kB / 0.9614 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7312, allocations: 1.719 kB / 0.9614 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.7315, allocations: 196.9 kB / 0.9616 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.7316, allocations: 77.98 kB / 0.9617 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.7316, allocations: 8.375 kB / 0.9617 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.7317, allocations: 13.31 kB / 0.9617 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.7317, allocations: 10.12 kB / 0.9617 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7317, allocations: 0 / 0.9617 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.7318, allocations: 96.03 kB / 0.9618 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7318, allocations: 0 / 0.9618 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002167/0.732, allocations: 11.66 kB / 0.9618 GB, free: 11.16 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.0001505/0.7322, allocations: 106 kB / 0.9619 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.7325, allocations: 73.27 kB / 0.962 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7325, allocations: 4.906 kB / 0.962 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.7326, allocations: 32.95 kB / 0.962 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.733, allocations: 20.59 kB / 0.962 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.7333, allocations: 160 kB / 0.9622 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.7335, allocations: 0.6876 MB / 0.9628 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.7336, allocations: 3.188 kB / 0.9628 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.7336, allocations: 14.41 kB / 0.9629 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.7336, allocations: 4 kB / 0.9629 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.002979/0.7366, allocations: 1.002 MB / 0.9638 GB, free: 10.13 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)