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.00404/0.00404, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001027/0.001027, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.204/1.204, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.369/1.369, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001379/0.001379, allocations: 71.89 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1924, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002469/0.1949, allocations: 1.284 MB / 0.8293 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5292/0.7242, allocations: 132 MB / 0.9582 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.7242, allocations: 0 / 0.9582 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.7243, allocations: 5.906 kB / 0.9582 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.7244, allocations: 9.156 kB / 0.9582 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.7248, allocations: 59.59 kB / 0.9583 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.641e-05/0.7249, allocations: 16.73 kB / 0.9583 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.7249, allocations: 9.312 kB / 0.9583 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.725, allocations: 10.06 kB / 0.9583 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.725, allocations: 8.438 kB / 0.9583 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.725, allocations: 1.312 kB / 0.9583 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.7251, allocations: 13.48 kB / 0.9583 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.7251, allocations: 6.797 kB / 0.9583 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.7252, allocations: 7.562 kB / 0.9584 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.7253, allocations: 27.77 kB / 0.9584 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.7253, allocations: 4.312 kB / 0.9584 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7253, allocations: 3.938 kB / 0.9584 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7253, allocations: 0 / 0.9584 GB, free: 13.65 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003989/0.7257, allocations: 333.2 kB / 0.9587 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7258, allocations: 8.375 kB / 0.9587 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.7258, allocations: 3.125 kB / 0.9587 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.7259, allocations: 168 kB / 0.9589 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.601e-05/0.726, allocations: 29.33 kB / 0.9589 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.7261, allocations: 6.906 kB / 0.9589 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.7262, allocations: 42.91 kB / 0.959 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7262, allocations: 3.938 kB / 0.959 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.7262, allocations: 1.375 kB / 0.959 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.7262, allocations: 0 / 0.959 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.7263, allocations: 14.31 kB / 0.959 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.7265, allocations: 153.3 kB / 0.9591 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.284e-05/0.7266, allocations: 32.75 kB / 0.9592 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.561e-05/0.7267, allocations: 12.55 kB / 0.9592 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.7268, allocations: 91.92 kB / 0.9593 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.7268, allocations: 36.89 kB / 0.9593 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.7268, allocations: 0 / 0.9593 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000237/0.7271, allocations: 62.06 kB / 0.9593 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.7271, allocations: 52.66 kB / 0.9594 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.7272, allocations: 101.8 kB / 0.9595 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.7272, allocations: 26.92 kB / 0.9595 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.7273, allocations: 80.14 kB / 0.9596 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.7273, allocations: 12.22 kB / 0.9596 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.7273, allocations: 15.8 kB / 0.9596 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7274, allocations: 311.8 kB / 0.9599 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.7275, allocations: 13.88 kB / 0.9599 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.7275, allocations: 11.03 kB / 0.9599 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.7276, allocations: 20.5 kB / 0.96 GB, free: 12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7276, allocations: 1.125 kB / 0.96 GB, free: 12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.7278, allocations: 55.03 kB / 0.96 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7278, allocations: 12.44 kB / 0.96 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7278, allocations: 2.203 kB / 0.96 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.7278, allocations: 1.469 kB / 0.96 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.7279, allocations: 12.12 kB / 0.96 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7279, allocations: 0 / 0.96 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.7279, allocations: 7.5 kB / 0.96 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.728, allocations: 1.156 kB / 0.9601 GB, free: 11.95 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.286e-05/0.728, allocations: 111 kB / 0.9602 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.728, allocations: 6.062 kB / 0.9602 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.7282, allocations: 56.81 kB / 0.9602 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.7282, allocations: 7.547 kB / 0.9602 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7282, allocations: 0 / 0.9602 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7282, allocations: 0 / 0.9602 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.865e-05/0.7283, allocations: 154 kB / 0.9604 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7284, allocations: 1.062 kB / 0.9604 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.7284, allocations: 8.219 kB / 0.9604 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.7284, allocations: 3.938 kB / 0.9604 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.7284, allocations: 1.125 kB / 0.9604 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7284, allocations: 0 / 0.9604 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7284, allocations: 0.7188 kB / 0.9604 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.7286, allocations: 82.73 kB / 0.9605 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.7286, allocations: 83.98 kB / 0.9605 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.7287, allocations: 8.688 kB / 0.9606 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.691e-05/0.7287, allocations: 1.125 kB / 0.9606 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.7287, allocations: 3.688 kB / 0.9606 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.7287, allocations: 1.156 kB / 0.9606 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.7288, allocations: 81 kB / 0.9606 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7288, allocations: 4 kB / 0.9606 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001951/0.729, allocations: 15.45 kB / 0.9607 GB, free: 11.34 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.0001508/0.7291, allocations: 107.9 kB / 0.9608 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.7293, allocations: 25.48 kB / 0.9608 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7293, allocations: 3.938 kB / 0.9608 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.44e-05/0.7294, allocations: 9.781 kB / 0.9608 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.7296, allocations: 9.234 kB / 0.9608 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.7299, allocations: 122.5 kB / 0.9609 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.7301, allocations: 0.6824 MB / 0.9616 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.7302, allocations: 2.375 kB / 0.9616 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.7302, allocations: 17.72 kB / 0.9616 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.7302, allocations: 0 / 0.9616 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.002508/0.7327, allocations: 0.517 MB / 0.9621 GB, free: 10.36 MB / 0.7325 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)