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.00495/0.004949, allocations: 109.1 kB / 15.71 MB, free: 6.047 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.001133/0.001133, allocations: 196.5 kB / 16.65 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 286.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9031/0.9031, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 95.86 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4184, allocations: 86.98 MB / 0.7663 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002391/0.4209, allocations: 1.491 MB / 0.7678 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.5544, allocations: 132.1 MB / 0.8968 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.5545, allocations: 4 kB / 0.8968 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.5545, allocations: 3.938 kB / 0.8968 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.5546, allocations: 15.86 kB / 0.8968 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.555, allocations: 75.36 kB / 0.8968 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.5551, allocations: 55.73 kB / 0.8969 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.5552, allocations: 11.98 kB / 0.8969 GB, free: 13.7 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/0.5552, allocations: 23.92 kB / 0.8969 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.5553, allocations: 19.92 kB / 0.897 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.5553, allocations: 4 kB / 0.897 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.5554, allocations: 27.92 kB / 0.897 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.5554, allocations: 4 kB / 0.897 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.5554, allocations: 31.84 kB / 0.897 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.5556, allocations: 51.81 kB / 0.8971 GB, free: 13.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5556, allocations: 0 / 0.8971 GB, free: 13.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5556, allocations: 0 / 0.8971 GB, free: 13.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.5556, allocations: 4 kB / 0.8971 GB, free: 13.54 MB / 0.67 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.0004793/0.5561, allocations: 373.8 kB / 0.8974 GB, free: 13.12 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5561, allocations: 16.03 kB / 0.8974 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.5562, allocations: 0.9375 kB / 0.8974 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.5563, allocations: 176.2 kB / 0.8976 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.5563, allocations: 4.375 kB / 0.8976 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.5563, allocations: 384 / 0.8976 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.5566, allocations: 78.19 kB / 0.8977 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.5566, allocations: 192 / 0.8977 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5566, allocations: 7.938 kB / 0.8977 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.5566, allocations: 4 kB / 0.8977 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.5569, allocations: 71.91 kB / 0.8978 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.5573, allocations: 284.7 kB / 0.898 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.5575, allocations: 54.55 kB / 0.8981 GB, free: 12.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.5576, allocations: 44.91 kB / 0.8981 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.5578, allocations: 89.09 kB / 0.8982 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.99e-05/0.5579, allocations: 34.56 kB / 0.8983 GB, free: 12.14 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5579, allocations: 0 / 0.8983 GB, free: 12.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.000514/0.5584, allocations: 133.5 kB / 0.8984 GB, free: 12.01 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.5584, allocations: 51.41 kB / 0.8984 GB, free: 11.95 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.5585, allocations: 117.8 kB / 0.8985 GB, free: 11.82 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.5586, allocations: 29.7 kB / 0.8986 GB, free: 11.79 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.5586, allocations: 92.05 kB / 0.8987 GB, free: 11.69 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.5586, allocations: 11.84 kB / 0.8987 GB, free: 11.68 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.5587, allocations: 17.72 kB / 0.8987 GB, free: 11.66 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.5588, allocations: 318.8 kB / 0.899 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.5589, allocations: 31.97 kB / 0.899 GB, free: 11.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.5591, allocations: 31.95 kB / 0.8991 GB, free: 11.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.5593, allocations: 76.72 kB / 0.8991 GB, free: 11.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5594, allocations: 0 / 0.8991 GB, free: 11.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003057/0.5597, allocations: 97.53 kB / 0.8992 GB, free: 11.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5597, allocations: 10.34 kB / 0.8992 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.5597, allocations: 7.938 kB / 0.8992 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.5597, allocations: 0 / 0.8992 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.5598, allocations: 11.98 kB / 0.8993 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5598, allocations: 4 kB / 0.8993 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.5599, allocations: 11.97 kB / 0.8993 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.5599, allocations: 8 kB / 0.8993 GB, free: 11.04 MB / 0.67 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 7.117e-05/0.56, allocations: 109.8 kB / 0.8994 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.56, allocations: 8 kB / 0.8994 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.5604, allocations: 109.5 kB / 0.8995 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5604, allocations: 0 / 0.8995 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.5604, allocations: 0 / 0.8995 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5604, allocations: 0 / 0.8995 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.5606, allocations: 173.6 kB / 0.8997 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5606, allocations: 0 / 0.8997 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.289e-05/0.5607, allocations: 19.98 kB / 0.8997 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5607, allocations: 0 / 0.8997 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.5607, allocations: 0 / 0.8997 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5607, allocations: 0 / 0.8997 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5607, allocations: 4 kB / 0.8997 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.5611, allocations: 211.6 kB / 0.8999 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.5612, allocations: 81.02 kB / 0.9 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.5612, allocations: 4 kB / 0.9 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5613, allocations: 11.92 kB / 0.9 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.5614, allocations: 11.98 kB / 0.9 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.5614, allocations: 0 / 0.9 GB, free: 10.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.028e-05/0.5614, allocations: 91.27 kB / 0.9001 GB, free: 10.12 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5614, allocations: 0 / 0.9001 GB, free: 10.12 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002273/0.5617, allocations: 16 kB / 0.9001 GB, free: 10.11 MB / 0.67 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.0001495/0.5618, allocations: 115.3 kB / 0.9002 GB, free: 9.984 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.5622, allocations: 67.92 kB / 0.9003 GB, free: 9.918 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5622, allocations: 0 / 0.9003 GB, free: 9.918 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.5623, allocations: 43.91 kB / 0.9003 GB, free: 9.875 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.5626, allocations: 19.86 kB / 0.9003 GB, free: 9.855 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.563, allocations: 151.8 kB / 0.9005 GB, free: 9.68 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.5632, allocations: 0.6807 MB / 0.9011 GB, free: 8.973 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.5633, allocations: 7.984 kB / 0.9011 GB, free: 8.965 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.5633, allocations: 11.44 kB / 0.9012 GB, free: 8.953 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.5633, allocations: 3.938 kB / 0.9012 GB, free: 8.949 MB / 0.67 GB Notification: Performance of Templates: time 0.003003/0.5663, allocations: 0.9957 MB / 0.9021 GB, free: 7.965 MB / 0.67 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)