Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, 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.001197/0.001197, 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 291.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8986/0.8986, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 95.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3899, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004524/0.3944, allocations: 3.282 MB / 0.7703 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 9.903e-05/0.3946, allocations: 51.8 kB / 0.7703 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.3946, allocations: 0 / 0.7703 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.412e-05/0.3947, allocations: 0 / 0.7703 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.3948, allocations: 19.91 kB / 0.7703 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.3953, allocations: 187.2 kB / 0.7705 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.3954, allocations: 31.91 kB / 0.7705 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.3955, allocations: 7.984 kB / 0.7705 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.944e-05/0.3955, allocations: 15.88 kB / 0.7706 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.3956, allocations: 11.97 kB / 0.7706 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3956, allocations: 4 kB / 0.7706 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.3959, allocations: 171.6 kB / 0.7707 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.396, allocations: 4 kB / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.396, allocations: 15.92 kB / 0.7708 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.3963, allocations: 139.4 kB / 0.7709 GB, free: 8 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3963, allocations: 3.984 kB / 0.7709 GB, free: 4 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3963, allocations: 0 / 0.7709 GB, free: 4 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3964, allocations: 0 / 0.7709 GB, free: 4 kB / 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.0003872/0.3967, allocations: 338.1 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3968, allocations: 8.031 kB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.3968, allocations: 12.84 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3969, allocations: 164.3 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.086e-05/0.397, allocations: 30.27 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.397, allocations: 12.36 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3972, allocations: 45.61 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3972, allocations: 0 / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3972, allocations: 0 / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.3972, allocations: 4 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.3973, allocations: 19.92 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.3979, allocations: 0.5833 MB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.3979, allocations: 22.58 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.398, allocations: 4.859 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.3982, allocations: 336.5 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3982, allocations: 38.56 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3982, allocations: 0 / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.3984, allocations: 41.66 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.3984, allocations: 59.38 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.3985, allocations: 101.9 kB / 0.7726 GB, free: 13.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3985, allocations: 25.7 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.3986, allocations: 88.03 kB / 0.7728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.3986, allocations: 7.906 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.3986, allocations: 17.72 kB / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.3987, allocations: 314.8 kB / 0.7731 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.3987, allocations: 7.984 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.3987, allocations: 17.72 kB / 0.7731 GB, free: 13.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.3988, allocations: 21.66 kB / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3988, allocations: 0 / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.738e-05/0.3989, allocations: 49.62 kB / 0.7732 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3989, allocations: 8 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3989, allocations: 4.062 kB / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3989, allocations: 0 / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.213e-05/0.399, allocations: 4 kB / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.399, allocations: 7.984 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.399, allocations: 0 / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.399, allocations: 0 / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.073e-05/0.3991, allocations: 120.2 kB / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3991, allocations: 0 / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.3992, allocations: 128.8 kB / 0.7734 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.115e-05/0.3993, allocations: 176.3 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-05/0.3993, allocations: 180.3 kB / 0.7738 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-05/0.3994, allocations: 188.2 kB / 0.774 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.3996, allocations: 401.2 kB / 0.7743 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/0.3996, allocations: 112.9 kB / 0.7744 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.3997, allocations: 105 kB / 0.7745 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.253e-05/0.3997, allocations: 180.2 kB / 0.7747 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.3998, allocations: 180.4 kB / 0.7749 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.336e-05/0.3999, allocations: 184.3 kB / 0.7751 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-05/0.3999, allocations: 180.2 kB / 0.7752 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.4, allocations: 311.8 kB / 0.7755 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.4001, allocations: 182 kB / 0.7757 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.4002, allocations: 184.3 kB / 0.7759 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.4003, allocations: 108.9 kB / 0.776 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.4004, allocations: 192.5 kB / 0.7762 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.4004, allocations: 101 kB / 0.7763 GB, free: 9.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.4005, allocations: 79.28 kB / 0.7763 GB, free: 9.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4005, allocations: 3.938 kB / 0.7763 GB, free: 9.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002805/0.4008, allocations: 43.92 kB / 0.7764 GB, free: 9.777 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 (0): * Single equations (assignments): 0 * 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.000254/0.401, allocations: 244.9 kB / 0.7766 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/0.4011, allocations: 8 kB / 0.7766 GB, free: 9.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4011, allocations: 4 kB / 0.7766 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.4011, allocations: 0 / 0.7766 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.4015, allocations: 467.8 kB / 0.7771 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.4018, allocations: 211.5 kB / 0.7773 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.402, allocations: 0.6729 MB / 0.7779 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.402, allocations: 7.438 kB / 0.7779 GB, free: 8.105 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.402, allocations: 4 kB / 0.7779 GB, free: 8.102 MB / 0.545 GB Notification: Performance of Templates: time 0.002616/0.4047, allocations: 1.188 MB / 0.7791 GB, free: 6.93 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)