Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001235/0.00124, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001407/0.001408, allocations: 187 kB / 17.34 MB, free: 5.766 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 289.4 kB / 291.5 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.9148/0.9148, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5024, allocations: 86.98 MB / 0.767 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002472/0.5049, allocations: 1.276 MB / 0.7683 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1448/0.6497, allocations: 132 MB / 0.8972 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.6498, allocations: 0 / 0.8972 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.6499, allocations: 0 / 0.8972 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.65, allocations: 7.922 kB / 0.8972 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.6503, allocations: 67.23 kB / 0.8973 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.015e-05/0.6504, allocations: 23.88 kB / 0.8973 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.6505, allocations: 3.984 kB / 0.8973 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.6505, allocations: 11.94 kB / 0.8973 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.6506, allocations: 4 kB / 0.8973 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.6506, allocations: 3.984 kB / 0.8973 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 6.986e-05/0.6507, allocations: 15.98 kB / 0.8974 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.6507, allocations: 3.938 kB / 0.8974 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.6507, allocations: 11.94 kB / 0.8974 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.6508, allocations: 23.91 kB / 0.8974 GB, free: 13.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6508, allocations: 0 / 0.8974 GB, free: 13.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6508, allocations: 4 kB / 0.8974 GB, free: 13.78 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.6509, allocations: 0 / 0.8974 GB, free: 13.78 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004103/0.6513, allocations: 334.2 kB / 0.8977 GB, free: 13.41 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6513, allocations: 12.03 kB / 0.8977 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.6514, allocations: 0.9375 kB / 0.8977 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.6515, allocations: 168.3 kB / 0.8979 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.6515, allocations: 30.27 kB / 0.8979 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.6516, allocations: 4.359 kB / 0.8979 GB, free: 13.15 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.6517, allocations: 42.25 kB / 0.898 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.6517, allocations: 3.938 kB / 0.898 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.6517, allocations: 4 kB / 0.898 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.6517, allocations: 0 / 0.898 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.64e-05/0.6518, allocations: 8 kB / 0.898 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.652, allocations: 153.7 kB / 0.8981 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.6521, allocations: 34.55 kB / 0.8982 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.6521, allocations: 16.86 kB / 0.8982 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.6523, allocations: 89.19 kB / 0.8983 GB, free: 12.72 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.6523, allocations: 34.56 kB / 0.8983 GB, free: 12.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6523, allocations: 0 / 0.8983 GB, free: 12.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002175/0.6525, allocations: 61.78 kB / 0.8984 GB, free: 12.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.6526, allocations: 63.34 kB / 0.8984 GB, free: 12.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.307e-05/0.6527, allocations: 101.8 kB / 0.8985 GB, free: 12.43 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.6527, allocations: 25.7 kB / 0.8985 GB, free: 12.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.6527, allocations: 80.14 kB / 0.8986 GB, free: 12.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.6527, allocations: 15.73 kB / 0.8986 GB, free: 12.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.6528, allocations: 17.72 kB / 0.8986 GB, free: 12.28 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6529, allocations: 314.8 kB / 0.8989 GB, free: 11.96 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.6529, allocations: 7.984 kB / 0.899 GB, free: 11.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.571e-05/0.653, allocations: 8 kB / 0.899 GB, free: 11.95 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.096e-05/0.6531, allocations: 24.84 kB / 0.899 GB, free: 11.92 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6531, allocations: 0 / 0.899 GB, free: 11.92 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000111/0.6532, allocations: 49.67 kB / 0.899 GB, free: 11.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6532, allocations: 11.94 kB / 0.899 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.6532, allocations: 3.938 kB / 0.899 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.6533, allocations: 4 kB / 0.899 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.6533, allocations: 4 kB / 0.8991 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6533, allocations: 4 kB / 0.8991 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.6534, allocations: 7.938 kB / 0.8991 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.6534, allocations: 4 kB / 0.8991 GB, free: 11.82 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 6.241e-05/0.6535, allocations: 108.2 kB / 0.8992 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.6535, allocations: 11.92 kB / 0.8992 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.6536, allocations: 49.19 kB / 0.8992 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6536, allocations: 0 / 0.8992 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6536, allocations: 0 / 0.8992 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6537, allocations: 11.98 kB / 0.8992 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.934e-05/0.6538, allocations: 145.7 kB / 0.8994 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.6538, allocations: 4 kB / 0.8994 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.6538, allocations: 11.92 kB / 0.8994 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6538, allocations: 3.938 kB / 0.8994 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.6538, allocations: 0 / 0.8994 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6538, allocations: 0 / 0.8994 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6538, allocations: 0 / 0.8994 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.654, allocations: 81.03 kB / 0.8995 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.6541, allocations: 85.09 kB / 0.8996 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.6541, allocations: 3.938 kB / 0.8996 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.638e-05/0.6541, allocations: 0 / 0.8996 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.6541, allocations: 3.984 kB / 0.8996 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.6541, allocations: 8.422 kB / 0.8996 GB, free: 11.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.6542, allocations: 79.27 kB / 0.8996 GB, free: 11.13 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.6542, allocations: 0 / 0.8996 GB, free: 11.13 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001799/0.6544, allocations: 12 kB / 0.8997 GB, free: 11.12 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.000149/0.6545, allocations: 129.9 kB / 0.8998 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.6547, allocations: 19.98 kB / 0.8998 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.6547, allocations: 0 / 0.8998 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.6547, allocations: 11.98 kB / 0.8998 GB, free: 10.95 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.655, allocations: 14.75 kB / 0.8998 GB, free: 10.94 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.6553, allocations: 145.5 kB / 0.9 GB, free: 10.76 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.6555, allocations: 0.6768 MB / 0.9006 GB, free: 10.06 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.6555, allocations: 11.44 kB / 0.9006 GB, free: 10.05 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/0.6555, allocations: 0 / 0.9006 GB, free: 10.05 MB / 0.67 GB Notification: Performance of Templates: time 0.001842/0.6574, allocations: 0.5772 MB / 0.9012 GB, free: 9.473 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)