Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 105.6 kB / 16.41 MB, free: 6.488 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.001557/0.001557, allocations: 193.4 kB / 17.34 MB, free: 5.762 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.243/1.243, 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.002072/0.002072, allocations: 293.5 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.9213/0.9213, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 91.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.495, allocations: 86.98 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002616/0.4977, allocations: 1.406 MB / 0.7684 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004733/0.4982, allocations: 203.4 kB / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.4982, allocations: 4 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.4983, allocations: 3.938 kB / 0.7686 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.4983, allocations: 7.938 kB / 0.7686 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.4986, allocations: 23.89 kB / 0.7686 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.4986, allocations: 15.94 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.4987, allocations: 15.92 kB / 0.7687 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.4988, allocations: 4 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.4988, allocations: 15.92 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.4988, allocations: 8 kB / 0.7687 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.992e-05/0.4989, allocations: 27.97 kB / 0.7687 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.499, allocations: 4 kB / 0.7687 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.499, allocations: 7.922 kB / 0.7687 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.4991, allocations: 43.56 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4991, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4991, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.4992, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 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.0004234/0.4996, allocations: 342 kB / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4996, allocations: 12.03 kB / 0.7691 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.4998, allocations: 4.938 kB / 0.7691 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4999, allocations: 164.3 kB / 0.7693 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4999, allocations: 4.359 kB / 0.7693 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.4999, allocations: 4.375 kB / 0.7693 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.5001, allocations: 46.23 kB / 0.7693 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.5001, allocations: 4.188 kB / 0.7693 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5001, allocations: 3.938 kB / 0.7693 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5001, allocations: 4 kB / 0.7693 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.5003, allocations: 31.97 kB / 0.7694 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.5007, allocations: 256.9 kB / 0.7696 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.5008, allocations: 42.44 kB / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.5009, allocations: 20.91 kB / 0.7697 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.5009, allocations: 4 kB / 0.7697 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5009, allocations: 34.56 kB / 0.7697 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 2.716e-06/0.501, allocations: 0 / 0.7697 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003427/0.5013, allocations: 81.58 kB / 0.7698 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.5013, allocations: 59.34 kB / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.5014, allocations: 106 kB / 0.7699 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.5014, allocations: 25.7 kB / 0.77 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.5015, allocations: 80.14 kB / 0.77 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.5015, allocations: 7.844 kB / 0.7701 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.5015, allocations: 21.7 kB / 0.7701 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.5016, allocations: 310.8 kB / 0.7704 GB, free: 248 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.5017, allocations: 15.98 kB / 0.7704 GB, free: 232 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.5018, allocations: 19.98 kB / 0.7704 GB, free: 212 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.5019, allocations: 40.81 kB / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.502, allocations: 0 / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001835/0.5021, allocations: 65.55 kB / 0.7705 GB, free: 96 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5022, allocations: 18.73 kB / 0.7705 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5022, allocations: 4.094 kB / 0.7705 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5022, allocations: 0 / 0.7705 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.5023, allocations: 4 kB / 0.7705 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5023, allocations: 4 kB / 0.7705 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.5024, allocations: 3.984 kB / 0.7705 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.5024, allocations: 4 kB / 0.7705 GB, free: 60 kB / 0.5294 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 (2): * Single equations (assignments): 2 * 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 8.207e-05/0.5025, allocations: 113.8 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.5025, allocations: 0 / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.5027, allocations: 80.77 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5027, allocations: 240 / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5027, allocations: 4 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5028, allocations: 3.984 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.5029, allocations: 165.5 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5029, allocations: 0 / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.616e-05/0.503, allocations: 8 kB / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.503, allocations: 7.984 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.503, allocations: 0 / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.503, allocations: 0 / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.503, allocations: 0 / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.5033, allocations: 171.4 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.5033, allocations: 77.11 kB / 0.7711 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.5033, allocations: 0 / 0.7711 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.5034, allocations: 19.92 kB / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.5034, allocations: 8 kB / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.5035, allocations: 0 / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.5035, allocations: 83.27 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5035, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002125/0.5037, allocations: 4 kB / 0.7713 GB, free: 15.23 MB / 0.545 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 9.447e-05/0.5038, allocations: 103.2 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.504, allocations: 43.95 kB / 0.7714 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.504, allocations: 0 / 0.7714 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.5041, allocations: 19.98 kB / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.5044, allocations: 9.062 kB / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.5047, allocations: 142.2 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.5049, allocations: 0.6845 MB / 0.7722 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.505, allocations: 11.44 kB / 0.7722 GB, free: 14.15 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.505, allocations: 0 / 0.7722 GB, free: 14.15 MB / 0.545 GB Notification: Performance of Templates: time 0.001734/0.5067, allocations: 0.5816 MB / 0.7728 GB, free: 13.57 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)