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.005872/0.005872, allocations: 106.2 kB / 15.74 MB, free: 6 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.001168/0.001168, allocations: 198.6 kB / 16.68 MB, free: 5.918 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.231/1.231, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.37/1.37, allocations: 251.7 MB / 0.5094 GB, free: 3.086 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.001274/0.001275, allocations: 72.45 kB / 0.7258 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1814, allocations: 104.7 MB / 0.828 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002704/0.1841, allocations: 1.505 MB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5225/0.7066, allocations: 132.1 MB / 0.9585 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.7067, allocations: 1.5 kB / 0.9585 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.349e-05/0.7068, allocations: 3.938 kB / 0.9585 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.7069, allocations: 12 kB / 0.9585 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.7072, allocations: 67.61 kB / 0.9585 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.7074, allocations: 51.55 kB / 0.9586 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.7075, allocations: 19.14 kB / 0.9586 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.7075, allocations: 23.17 kB / 0.9586 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.7076, allocations: 23.83 kB / 0.9587 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.7076, allocations: 9 kB / 0.9587 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.7077, allocations: 16.33 kB / 0.9587 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.7077, allocations: 6.453 kB / 0.9587 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.7078, allocations: 26.38 kB / 0.9587 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.7079, allocations: 57.31 kB / 0.9588 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7079, allocations: 4 kB / 0.9588 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7079, allocations: 0 / 0.9588 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.7079, allocations: 1.344 kB / 0.9588 GB, free: 13.61 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.0005077/0.7084, allocations: 377.6 kB / 0.9591 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.7085, allocations: 8.656 kB / 0.9591 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.7085, allocations: 7.938 kB / 0.9591 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.7086, allocations: 179.5 kB / 0.9593 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.7087, allocations: 1.281 kB / 0.9593 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.7087, allocations: 6.594 kB / 0.9593 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.7089, allocations: 74.11 kB / 0.9594 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.709, allocations: 1.594 kB / 0.9594 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.709, allocations: 3.938 kB / 0.9594 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.709, allocations: 1.062 kB / 0.9594 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.7093, allocations: 72.19 kB / 0.9595 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.7096, allocations: 280.7 kB / 0.9597 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.7098, allocations: 56.61 kB / 0.9598 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.71, allocations: 38.69 kB / 0.9598 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.7102, allocations: 87.94 kB / 0.9599 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.7102, allocations: 37.06 kB / 0.9599 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7102, allocations: 3.938 kB / 0.96 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005098/0.7107, allocations: 134.8 kB / 0.9601 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.7108, allocations: 52.56 kB / 0.9601 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.7108, allocations: 121.3 kB / 0.9602 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.7109, allocations: 25.7 kB / 0.9603 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.7109, allocations: 96.61 kB / 0.9604 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.7109, allocations: 8.906 kB / 0.9604 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.711, allocations: 16.88 kB / 0.9604 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.7111, allocations: 322.5 kB / 0.9607 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.7112, allocations: 32.08 kB / 0.9607 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.7113, allocations: 33.09 kB / 0.9608 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.7116, allocations: 71.59 kB / 0.9608 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7116, allocations: 1.125 kB / 0.9608 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002961/0.7119, allocations: 97.19 kB / 0.9609 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.7119, allocations: 5.719 kB / 0.9609 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7119, allocations: 0 / 0.9609 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7119, allocations: 6.469 kB / 0.9609 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.712, allocations: 20.48 kB / 0.961 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7121, allocations: 0.9062 kB / 0.961 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.569e-05/0.7121, allocations: 14.16 kB / 0.961 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.7122, allocations: 3.969 kB / 0.961 GB, free: 11.82 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.252e-05/0.7122, allocations: 115.3 kB / 0.9611 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.7123, allocations: 6.75 kB / 0.9611 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.7126, allocations: 115.7 kB / 0.9612 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7126, allocations: 1.156 kB / 0.9612 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7126, allocations: 0 / 0.9612 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7126, allocations: 0 / 0.9612 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.7128, allocations: 174.9 kB / 0.9614 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7128, allocations: 0 / 0.9614 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.7129, allocations: 14.45 kB / 0.9614 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7129, allocations: 0 / 0.9614 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.7129, allocations: 6.266 kB / 0.9614 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7129, allocations: 4 kB / 0.9614 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7129, allocations: 1.125 kB / 0.9614 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.7133, allocations: 200.1 kB / 0.9616 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.7133, allocations: 80.5 kB / 0.9617 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.7133, allocations: 4.375 kB / 0.9617 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7134, allocations: 15.09 kB / 0.9617 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.7135, allocations: 7.734 kB / 0.9617 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.7135, allocations: 0 / 0.9617 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.7136, allocations: 93.47 kB / 0.9618 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7136, allocations: 0 / 0.9618 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002157/0.7138, allocations: 16 kB / 0.9618 GB, free: 11.14 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.0001356/0.7139, allocations: 105.9 kB / 0.9619 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.7143, allocations: 74.05 kB / 0.962 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7143, allocations: 0 / 0.962 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.7144, allocations: 39.78 kB / 0.962 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.7147, allocations: 23.34 kB / 0.962 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.715, allocations: 154.8 kB / 0.9622 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.7152, allocations: 0.6855 MB / 0.9628 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.7153, allocations: 3.859 kB / 0.9628 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.7153, allocations: 10.03 kB / 0.9628 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7153, allocations: 5.25 kB / 0.9629 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.002871/0.7182, allocations: 1 MB / 0.9638 GB, free: 10.12 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)