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.001566/0.001566, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001714/0.001714, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.297/1.297, allocations: 222.9 MB / 241.1 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.002112/0.002112, allocations: 287.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.3 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 91.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3553, allocations: 86.99 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00405/0.3594, allocations: 3.268 MB / 0.7703 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 9.044e-05/0.3595, allocations: 59.78 kB / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.3595, allocations: 0 / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.96e-05/0.3596, allocations: 3.938 kB / 0.7703 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.3597, allocations: 11.92 kB / 0.7703 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.3602, allocations: 191.2 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.3602, allocations: 27.92 kB / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.066e-05/0.3603, allocations: 0 / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.3603, allocations: 19.92 kB / 0.7706 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.3604, allocations: 15.92 kB / 0.7706 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.3604, allocations: 4 kB / 0.7706 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.3607, allocations: 175.5 kB / 0.7707 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.3608, allocations: 0 / 0.7707 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.3608, allocations: 15.92 kB / 0.7708 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.361, allocations: 139.4 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3611, allocations: 0 / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3611, allocations: 0 / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.3611, allocations: 0 / 0.7709 GB, free: 15.93 MB / 0.545 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.0003304/0.3614, allocations: 344.3 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3614, allocations: 8.031 kB / 0.7712 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3615, allocations: 12.78 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.922e-05/0.3616, allocations: 172.3 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.3616, allocations: 30.27 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.3617, allocations: 4.375 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.3618, allocations: 45.62 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3618, allocations: 0 / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.3618, allocations: 0 / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.3618, allocations: 0 / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.3619, allocations: 15.98 kB / 0.7715 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.3624, allocations: 0.5911 MB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.271e-05/0.3625, allocations: 18.58 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.3625, allocations: 4.859 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002078/0.3627, allocations: 340.5 kB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3627, allocations: 34.56 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3627, allocations: 0 / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.3629, allocations: 37.75 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.3629, allocations: 59.34 kB / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.363, allocations: 105.8 kB / 0.7726 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.363, allocations: 25.7 kB / 0.7727 GB, free: 13.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.363, allocations: 84.05 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-06/0.363, allocations: 3.906 kB / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.3631, allocations: 17.72 kB / 0.7728 GB, free: 13.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.3632, allocations: 322.8 kB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.3632, allocations: 7.938 kB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.3632, allocations: 17.72 kB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.3633, allocations: 21.66 kB / 0.7731 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3633, allocations: 0 / 0.7731 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.374e-05/0.3633, allocations: 45.69 kB / 0.7732 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.3634, allocations: 4 kB / 0.7732 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3634, allocations: 4.062 kB / 0.7732 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.3634, allocations: 4 kB / 0.7732 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.271e-05/0.3634, allocations: 7.984 kB / 0.7732 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3634, allocations: 3.938 kB / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.3635, allocations: 4 kB / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3635, allocations: 4 kB / 0.7732 GB, free: 13.18 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 5.863e-05/0.3635, allocations: 112.2 kB / 0.7733 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.3636, allocations: 4 kB / 0.7733 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.3637, allocations: 127.8 kB / 0.7734 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.157e-05/0.3637, allocations: 184.2 kB / 0.7736 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/0.3638, allocations: 105 kB / 0.7737 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.3638, allocations: 178.1 kB / 0.7739 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.3639, allocations: 188.2 kB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3641, allocations: 105.2 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.3641, allocations: 188.2 kB / 0.7743 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.969e-05/0.3642, allocations: 259.5 kB / 0.7746 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001382/0.3643, allocations: 383.2 kB / 0.775 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.071e-05/0.3644, allocations: 101 kB / 0.775 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.3644, allocations: 99.2 kB / 0.7751 GB, free: 11.08 MB / 0.545 GB Notification: Performance of Backend: time 1.7e-07/0.3644, allocations: 0 / 0.7751 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.3649, allocations: 156.6 kB / 0.7753 GB, free: 10.92 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004476/0.3653, allocations: 0.8562 MB / 0.7761 GB, free: 10.01 MB / 0.545 GB Notification: Performance of Templates: time 0.003123/0.3685, allocations: 1.129 MB / 0.7772 GB, free: 8.934 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)