Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001088, allocations: 110.8 kB / 16.42 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.0009976/0.0009976, allocations: 188.3 kB / 17.35 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.28/1.28, allocations: 222.9 MB / 241.1 MB, free: 15.13 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: 290.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.9171/0.9171, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 95.83 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3603, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1494/0.5097, allocations: 135.4 MB / 0.8993 GB, free: 11.97 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.5099, allocations: 51.88 kB / 0.8993 GB, free: 11.92 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.5099, allocations: 4 kB / 0.8993 GB, free: 11.92 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 8.998e-05/0.5101, allocations: 3.984 kB / 0.8993 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.5101, allocations: 11.92 kB / 0.8994 GB, free: 11.9 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.5109, allocations: 240.9 kB / 0.8996 GB, free: 11.67 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.157e-05/0.511, allocations: 39.91 kB / 0.8996 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.08e-05/0.511, allocations: 0 / 0.8996 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.511, allocations: 19.86 kB / 0.8996 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.5111, allocations: 15.98 kB / 0.8997 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.5111, allocations: 0 / 0.8997 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000457/0.5116, allocations: 239.5 kB / 0.8999 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.5117, allocations: 15.91 kB / 0.8999 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.5117, allocations: 7.938 kB / 0.8999 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.512, allocations: 183.4 kB / 0.9001 GB, free: 11.16 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.512, allocations: 7.938 kB / 0.9001 GB, free: 11.15 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5121, allocations: 4 kB / 0.9001 GB, free: 11.15 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.5121, allocations: 0 / 0.9001 GB, free: 11.15 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.000365/0.5124, allocations: 362 kB / 0.9004 GB, free: 10.75 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5125, allocations: 8.031 kB / 0.9004 GB, free: 10.74 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.5125, allocations: 4.844 kB / 0.9004 GB, free: 10.74 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.5126, allocations: 168.3 kB / 0.9006 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.5127, allocations: 26.27 kB / 0.9006 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.5127, allocations: 3.938 kB / 0.9006 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.5128, allocations: 53.67 kB / 0.9007 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.5128, allocations: 0 / 0.9007 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5129, allocations: 0 / 0.9007 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.5129, allocations: 0 / 0.9007 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.625e-05/0.5129, allocations: 15.98 kB / 0.9007 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.5136, allocations: 0.595 MB / 0.9013 GB, free: 9.707 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.26e-05/0.5137, allocations: 22.52 kB / 0.9013 GB, free: 9.676 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.5137, allocations: 8.844 kB / 0.9013 GB, free: 9.664 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.5139, allocations: 332.5 kB / 0.9016 GB, free: 9.266 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5139, allocations: 38.55 kB / 0.9017 GB, free: 9.219 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.5139, allocations: 0 / 0.9017 GB, free: 9.219 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.514, allocations: 37.64 kB / 0.9017 GB, free: 9.176 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.5141, allocations: 55.34 kB / 0.9018 GB, free: 9.109 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/0.5142, allocations: 106 kB / 0.9019 GB, free: 8.996 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.5142, allocations: 25.7 kB / 0.9019 GB, free: 8.965 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.5142, allocations: 91.98 kB / 0.902 GB, free: 8.871 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.5142, allocations: 3.906 kB / 0.902 GB, free: 8.867 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.5143, allocations: 21.66 kB / 0.902 GB, free: 8.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5144, allocations: 318.8 kB / 0.9023 GB, free: 8.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.5144, allocations: 4 kB / 0.9023 GB, free: 8.516 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.5144, allocations: 21.72 kB / 0.9023 GB, free: 8.488 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.5145, allocations: 17.7 kB / 0.9023 GB, free: 8.465 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5145, allocations: 0 / 0.9023 GB, free: 8.465 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.359e-05/0.5146, allocations: 49.64 kB / 0.9024 GB, free: 8.41 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.5146, allocations: 4 kB / 0.9024 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5146, allocations: 0 / 0.9024 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5146, allocations: 3.984 kB / 0.9024 GB, free: 8.402 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.151e-05/0.5146, allocations: 12.06 kB / 0.9024 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5147, allocations: 0 / 0.9024 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.5147, allocations: 4 kB / 0.9024 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.5147, allocations: 7.938 kB / 0.9024 GB, free: 8.379 MB / 0.67 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 6.699e-05/0.5148, allocations: 116.2 kB / 0.9025 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.5148, allocations: 0 / 0.9025 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.314e-05/0.5149, allocations: 120.9 kB / 0.9026 GB, free: 8.129 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-05/0.515, allocations: 188.2 kB / 0.9028 GB, free: 7.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/0.515, allocations: 105 kB / 0.9029 GB, free: 7.828 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.5151, allocations: 178.1 kB / 0.9031 GB, free: 7.629 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.5151, allocations: 188.1 kB / 0.9033 GB, free: 7.438 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.5153, allocations: 105 kB / 0.9034 GB, free: 7.328 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.5154, allocations: 180.2 kB / 0.9035 GB, free: 7.145 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.833e-05/0.5154, allocations: 263.5 kB / 0.9038 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001421/0.5156, allocations: 383 kB / 0.9042 GB, free: 6.48 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.086e-05/0.5156, allocations: 104.9 kB / 0.9043 GB, free: 6.371 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.5157, allocations: 87.27 kB / 0.9043 GB, free: 6.285 MB / 0.67 GB Notification: Performance of Backend: time 3.4e-07/0.5157, allocations: 4 kB / 0.9044 GB, free: 6.281 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.5162, allocations: 170.7 kB / 0.9045 GB, free: 6.105 MB / 0.67 GB Notification: Performance of SimCode: time 0.0004646/0.5167, allocations: 0.864 MB / 0.9054 GB, free: 5.188 MB / 0.67 GB Notification: Performance of Templates: time 0.003237/0.5199, allocations: 1.205 MB / 0.9065 GB, free: 3.984 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)