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.001295/0.001295, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001316/0.001316, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.303/1.303, allocations: 222.9 MB / 241 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.00231/0.00231, allocations: 304 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9223/0.9223, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 99.83 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4664, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002269/0.4687, allocations: 1.496 MB / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1293/0.5981, allocations: 132.1 MB / 0.8975 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.5982, allocations: 3.938 kB / 0.8975 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.5982, allocations: 3.938 kB / 0.8975 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.5983, allocations: 11.86 kB / 0.8975 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.5987, allocations: 75.38 kB / 0.8976 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.5988, allocations: 51.78 kB / 0.8976 GB, free: 13.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.5989, allocations: 19.98 kB / 0.8976 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.599, allocations: 19.94 kB / 0.8976 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.599, allocations: 23.84 kB / 0.8977 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.599, allocations: 7.984 kB / 0.8977 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.982e-05/0.5991, allocations: 19.98 kB / 0.8977 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.5992, allocations: 4 kB / 0.8977 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.5992, allocations: 27.86 kB / 0.8977 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.5994, allocations: 51.88 kB / 0.8978 GB, free: 13.53 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5994, allocations: 4 kB / 0.8978 GB, free: 13.53 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5994, allocations: 3.938 kB / 0.8978 GB, free: 13.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.5994, allocations: 0 / 0.8978 GB, free: 13.52 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.0005989/0.6, allocations: 373.8 kB / 0.8981 GB, free: 13.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.6, allocations: 8.031 kB / 0.8982 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.6001, allocations: 4.938 kB / 0.8982 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.6002, allocations: 180.1 kB / 0.8983 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.6002, allocations: 4.375 kB / 0.8983 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.6002, allocations: 4.375 kB / 0.8983 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.6005, allocations: 70.22 kB / 0.8984 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.6005, allocations: 192 / 0.8984 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.6005, allocations: 7.938 kB / 0.8984 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.6005, allocations: 0 / 0.8984 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.6008, allocations: 71.92 kB / 0.8985 GB, free: 12.72 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.6012, allocations: 284.7 kB / 0.8988 GB, free: 12.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.6014, allocations: 54.53 kB / 0.8988 GB, free: 12.33 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.6016, allocations: 36.92 kB / 0.8988 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.6017, allocations: 93.09 kB / 0.8989 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.6018, allocations: 30.56 kB / 0.899 GB, free: 12.14 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 2.434e-06/0.6018, allocations: 7.984 kB / 0.899 GB, free: 12.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0005265/0.6023, allocations: 133.5 kB / 0.8991 GB, free: 12 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.6024, allocations: 55.41 kB / 0.8991 GB, free: 11.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.6024, allocations: 117.8 kB / 0.8993 GB, free: 11.81 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.6025, allocations: 25.7 kB / 0.8993 GB, free: 11.78 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.6025, allocations: 96.03 kB / 0.8994 GB, free: 11.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.6025, allocations: 15.78 kB / 0.8994 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.6026, allocations: 9.719 kB / 0.8994 GB, free: 11.65 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6028, allocations: 330.8 kB / 0.8997 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.6029, allocations: 27.97 kB / 0.8997 GB, free: 11.29 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.603, allocations: 35.95 kB / 0.8998 GB, free: 11.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.6033, allocations: 64.8 kB / 0.8998 GB, free: 11.19 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6033, allocations: 0 / 0.8998 GB, free: 11.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003415/0.6037, allocations: 109.5 kB / 0.8999 GB, free: 11.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6037, allocations: 7.938 kB / 0.8999 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6037, allocations: 0 / 0.8999 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6037, allocations: 0 / 0.8999 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.6039, allocations: 15.98 kB / 0.9 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6039, allocations: 8 kB / 0.9 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.604, allocations: 11.98 kB / 0.9 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.604, allocations: 0 / 0.9 GB, free: 11.03 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.501e-05/0.6041, allocations: 121 kB / 0.9001 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.6041, allocations: 4 kB / 0.9001 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.6045, allocations: 113.5 kB / 0.9002 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6045, allocations: 0 / 0.9002 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6045, allocations: 0 / 0.9002 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6045, allocations: 0 / 0.9002 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.6047, allocations: 181.6 kB / 0.9004 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6047, allocations: 0 / 0.9004 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.33e-05/0.6048, allocations: 11.98 kB / 0.9004 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6048, allocations: 0 / 0.9004 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.6048, allocations: 4 kB / 0.9004 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.6048, allocations: 4 kB / 0.9004 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6048, allocations: 0 / 0.9004 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.6052, allocations: 203.2 kB / 0.9006 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.6052, allocations: 85.02 kB / 0.9007 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.6052, allocations: 0 / 0.9007 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.6054, allocations: 15.98 kB / 0.9007 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.6054, allocations: 8.406 kB / 0.9007 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.6054, allocations: 0 / 0.9007 GB, free: 10.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.6055, allocations: 95.27 kB / 0.9008 GB, free: 10.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6055, allocations: 0 / 0.9008 GB, free: 10.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002265/0.6057, allocations: 16 kB / 0.9008 GB, free: 10.09 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.0001413/0.6059, allocations: 103.2 kB / 0.9009 GB, free: 9.977 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.6062, allocations: 75.91 kB / 0.901 GB, free: 9.902 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6062, allocations: 0 / 0.901 GB, free: 9.902 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.6064, allocations: 39.84 kB / 0.901 GB, free: 9.863 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.6067, allocations: 27.8 kB / 0.901 GB, free: 9.836 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.6071, allocations: 177.5 kB / 0.9012 GB, free: 9.629 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.6073, allocations: 0.6807 MB / 0.9019 GB, free: 8.922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.6074, allocations: 7.438 kB / 0.9019 GB, free: 8.914 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/0.6074, allocations: 4 kB / 0.9019 GB, free: 8.91 MB / 0.67 GB Notification: Performance of Templates: time 0.00219/0.6096, allocations: 0.9364 MB / 0.9028 GB, free: 7.984 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)