Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008252/0.0008257, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000951/0.0009512, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 270.7 kB / 291.3 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004233, allocations: 13.09 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001444/0.174, allocations: 1.198 MB / 0.6856 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4521/0.6261, allocations: 119.6 MB / 0.8025 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.6262, allocations: 1.859 kB / 0.8025 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.6263, allocations: 3.938 kB / 0.8025 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.6263, allocations: 9.484 kB / 0.8025 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.6266, allocations: 53.7 kB / 0.8025 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.251e-05/0.6267, allocations: 45.94 kB / 0.8026 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.6268, allocations: 20.58 kB / 0.8026 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.6269, allocations: 20.17 kB / 0.8026 GB, free: 1.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.6269, allocations: 19.02 kB / 0.8026 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.627, allocations: 1.188 kB / 0.8026 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.627, allocations: 15.12 kB / 0.8027 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.6271, allocations: 4.562 kB / 0.8027 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.6272, allocations: 35.11 kB / 0.8027 GB, free: 17.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.6273, allocations: 37.66 kB / 0.8027 GB, free: 17.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6273, allocations: 0 / 0.8027 GB, free: 17.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6273, allocations: 1.438 kB / 0.8027 GB, free: 17.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6273, allocations: 0 / 0.8027 GB, free: 17.51 MB / 0.5606 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.0005697/0.6279, allocations: 384.4 kB / 0.8031 GB, free: 17.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6279, allocations: 7.438 kB / 0.8031 GB, free: 17.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.628, allocations: 6.641 kB / 0.8031 GB, free: 17.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.6281, allocations: 171.7 kB / 0.8033 GB, free: 16.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.6282, allocations: 7.25 kB / 0.8033 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.6282, allocations: 0 / 0.8033 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.6284, allocations: 90.72 kB / 0.8034 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6285, allocations: 0 / 0.8034 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6285, allocations: 1 kB / 0.8034 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6285, allocations: 0.9688 kB / 0.8034 GB, free: 16.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.6288, allocations: 99.53 kB / 0.8035 GB, free: 16.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.6292, allocations: 280.4 kB / 0.8037 GB, free: 16.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.6294, allocations: 68.27 kB / 0.8038 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.6295, allocations: 49.42 kB / 0.8039 GB, free: 16.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.6297, allocations: 92.2 kB / 0.8039 GB, free: 16.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.6297, allocations: 38.52 kB / 0.804 GB, free: 16.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.522e-06/0.6297, allocations: 1.859 kB / 0.804 GB, free: 16.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005101/0.6302, allocations: 167.5 kB / 0.8041 GB, free: 16.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.6303, allocations: 55.34 kB / 0.8042 GB, free: 16.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.6304, allocations: 121.6 kB / 0.8043 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.6304, allocations: 25.7 kB / 0.8043 GB, free: 16.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.6305, allocations: 89.52 kB / 0.8044 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.6305, allocations: 7.812 kB / 0.8044 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/0.6305, allocations: 5.219 kB / 0.8044 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002237/0.6308, allocations: 313.1 kB / 0.8047 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.6309, allocations: 44.19 kB / 0.8048 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.631, allocations: 45.44 kB / 0.8048 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.6312, allocations: 44.08 kB / 0.8049 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6312, allocations: 0 / 0.8049 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002954/0.6315, allocations: 118.8 kB / 0.805 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6315, allocations: 6.172 kB / 0.805 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6315, allocations: 3.953 kB / 0.805 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6315, allocations: 2.688 kB / 0.805 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.6317, allocations: 24.19 kB / 0.805 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.6317, allocations: 3.938 kB / 0.805 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/0.6318, allocations: 23.08 kB / 0.805 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.6318, allocations: 1.938 kB / 0.805 GB, free: 15.73 MB / 0.5606 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 8.179e-05/0.6319, allocations: 111.1 kB / 0.8051 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.6319, allocations: 3.281 kB / 0.8051 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.6322, allocations: 136.1 kB / 0.8053 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6322, allocations: 3.953 kB / 0.8053 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6322, allocations: 0 / 0.8053 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6323, allocations: 2.312 kB / 0.8053 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.6324, allocations: 174.5 kB / 0.8054 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6324, allocations: 0.8125 kB / 0.8054 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.6325, allocations: 21.78 kB / 0.8055 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.6325, allocations: 0 / 0.8055 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.6325, allocations: 5.75 kB / 0.8055 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6325, allocations: 6.469 kB / 0.8055 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6325, allocations: 3.953 kB / 0.8055 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.6329, allocations: 218.5 kB / 0.8057 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.633, allocations: 78.33 kB / 0.8058 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.633, allocations: 1.406 kB / 0.8058 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.6331, allocations: 20.94 kB / 0.8058 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.6331, allocations: 9.547 kB / 0.8058 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.6331, allocations: 0 / 0.8058 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.872e-05/0.6332, allocations: 93.05 kB / 0.8059 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6332, allocations: 0 / 0.8059 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002178/0.6334, allocations: 19.22 kB / 0.8059 GB, free: 15.05 MB / 0.5606 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.000134/0.6336, allocations: 109.9 kB / 0.806 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.6339, allocations: 93.84 kB / 0.8061 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6339, allocations: 1.375 kB / 0.8061 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.634, allocations: 48.52 kB / 0.8061 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.6343, allocations: 17.73 kB / 0.8062 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.6346, allocations: 178.1 kB / 0.8063 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.6352, allocations: 0.6822 MB / 0.807 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.6352, allocations: 2.188 kB / 0.807 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.6352, allocations: 10.09 kB / 0.807 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.6352, allocations: 4 kB / 0.807 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.003164/0.6384, allocations: 0.8181 MB / 0.8078 GB, free: 14.04 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)