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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 183.5 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007913/0.0007914, allocations: 93.64 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8.969 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1976, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001405/0.1991, allocations: 1.2 MB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1177/0.3169, allocations: 119.6 MB / 1.019 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.317, allocations: 0 / 1.019 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.317, allocations: 4 kB / 1.019 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.3171, allocations: 11.86 kB / 1.019 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3174, allocations: 47.72 kB / 1.019 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.3175, allocations: 51.8 kB / 1.019 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.3176, allocations: 15.98 kB / 1.019 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.3177, allocations: 15.92 kB / 1.019 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.3177, allocations: 23.91 kB / 1.019 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.3178, allocations: 4 kB / 1.019 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 8.645e-05/0.3179, allocations: 19.92 kB / 1.019 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.3179, allocations: 0 / 1.019 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.3179, allocations: 33.7 kB / 1.019 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 9.95e-05/0.318, allocations: 36.22 kB / 1.019 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.318, allocations: 0 / 1.019 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.054e-06/0.318, allocations: 4 kB / 1.019 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3181, allocations: 4 kB / 1.019 GB, free: 6.461 MB / 0.6667 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.0005269/0.3186, allocations: 375.7 kB / 1.019 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3186, allocations: 12.03 kB / 1.019 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.3187, allocations: 11.83 kB / 1.019 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3188, allocations: 171 kB / 1.02 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3188, allocations: 0 / 1.02 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.3188, allocations: 4 kB / 1.02 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.3191, allocations: 85.62 kB / 1.02 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3191, allocations: 3.984 kB / 1.02 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3192, allocations: 8 kB / 1.02 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3192, allocations: 7.938 kB / 1.02 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.3195, allocations: 91.86 kB / 1.02 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.3199, allocations: 280.7 kB / 1.02 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.3201, allocations: 70.53 kB / 1.02 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3203, allocations: 48.91 kB / 1.02 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.3204, allocations: 89.11 kB / 1.02 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3205, allocations: 42.48 kB / 1.02 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3205, allocations: 0 / 1.02 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0005745/0.3211, allocations: 157.6 kB / 1.02 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.3211, allocations: 59.36 kB / 1.021 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.3212, allocations: 125.6 kB / 1.021 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3212, allocations: 25.7 kB / 1.021 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.3213, allocations: 92.05 kB / 1.021 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.3213, allocations: 3.906 kB / 1.021 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.3213, allocations: 0 / 1.021 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3214, allocations: 322.8 kB / 1.021 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3216, allocations: 43.97 kB / 1.021 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3218, allocations: 43.95 kB / 1.021 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3219, allocations: 39.97 kB / 1.021 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.322, allocations: 3.938 kB / 1.021 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003457/0.3223, allocations: 117.6 kB / 1.021 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3223, allocations: 8 kB / 1.021 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3223, allocations: 3.938 kB / 1.021 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3224, allocations: 0 / 1.021 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3225, allocations: 31.97 kB / 1.021 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3225, allocations: 0 / 1.021 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.088e-05/0.3226, allocations: 23.84 kB / 1.021 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3226, allocations: 0 / 1.021 GB, free: 3.875 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/0.3227, allocations: 113.8 kB / 1.021 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.3227, allocations: 4 kB / 1.021 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.3231, allocations: 141.4 kB / 1.022 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3231, allocations: 0 / 1.022 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3231, allocations: 0 / 1.022 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3232, allocations: 0 / 1.022 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.3233, allocations: 177.6 kB / 1.022 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3233, allocations: 0 / 1.022 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3234, allocations: 23.97 kB / 1.022 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3234, allocations: 384 / 1.022 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3235, allocations: 4 kB / 1.022 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3235, allocations: 0 / 1.022 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3235, allocations: 0 / 1.022 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.3238, allocations: 227.3 kB / 1.022 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.3239, allocations: 88.95 kB / 1.022 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3239, allocations: 3.984 kB / 1.022 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.324, allocations: 19.98 kB / 1.022 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.3241, allocations: 0 / 1.022 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.3241, allocations: 4 kB / 1.022 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.838e-05/0.3242, allocations: 91.27 kB / 1.022 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3242, allocations: 0 / 1.022 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002058/0.3244, allocations: 16 kB / 1.022 GB, free: 2.875 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.3245, allocations: 107.3 kB / 1.022 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.3249, allocations: 91.92 kB / 1.022 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3249, allocations: 4 kB / 1.022 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.3251, allocations: 51.89 kB / 1.023 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.3253, allocations: 15.89 kB / 1.023 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.3257, allocations: 202.2 kB / 1.023 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.326, allocations: 0.6809 MB / 1.023 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.326, allocations: 7.438 kB / 1.023 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/0.326, allocations: 0 / 1.023 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of Templates: time 0.002151/0.3282, allocations: 0.9214 MB / 1.024 GB, free: 0.7422 MB / 0.6667 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)