Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 111.4 kB / 16.38 MB, free: 6.023 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.001661/0.001661, allocations: 190.2 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 79.88 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1936, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.3279/0.5215, allocations: 4.003 MB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000164/0.5217, allocations: 158 kB / 0.7888 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.5217, allocations: 0.8438 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.009e-05/0.5219, allocations: 3.094 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.522, allocations: 18.52 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.5222, allocations: 66.69 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.5223, allocations: 28.92 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.5224, allocations: 6.594 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.5224, allocations: 16.44 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.5225, allocations: 13.28 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.5225, allocations: 1.5 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.5227, allocations: 55.45 kB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.5227, allocations: 9.547 kB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.5227, allocations: 16.73 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.5229, allocations: 35.3 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5229, allocations: 2.625 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5229, allocations: 1.938 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.5229, allocations: 0 / 0.7891 GB, free: 46.51 MB / 0.6544 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.0003169/0.5232, allocations: 334 kB / 0.7894 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.5233, allocations: 11.25 kB / 0.7894 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.5233, allocations: 4.344 kB / 0.7894 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.5234, allocations: 168.7 kB / 0.7896 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/0.5234, allocations: 26.27 kB / 0.7896 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.5234, allocations: 3 kB / 0.7896 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5236, allocations: 47.45 kB / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5236, allocations: 5.688 kB / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5236, allocations: 0 / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.5236, allocations: 4.641 kB / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.078e-05/0.5237, allocations: 19.56 kB / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.524, allocations: 336.2 kB / 0.79 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 2.68e-05/0.524, allocations: 19.89 kB / 0.79 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.138e-05/0.5241, allocations: 9.938 kB / 0.7901 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.5241, allocations: 85.83 kB / 0.7901 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.5242, allocations: 31.75 kB / 0.7902 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5242, allocations: 3.062 kB / 0.7902 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001334/0.5243, allocations: 40.33 kB / 0.7902 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.381e-05/0.5243, allocations: 54.03 kB / 0.7903 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.5244, allocations: 100 kB / 0.7904 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.5244, allocations: 25.7 kB / 0.7904 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.5244, allocations: 91.22 kB / 0.7905 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.5244, allocations: 4.406 kB / 0.7905 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.5245, allocations: 15.72 kB / 0.7905 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.5245, allocations: 322.2 kB / 0.7908 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.5245, allocations: 3.25 kB / 0.7908 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.5246, allocations: 21.75 kB / 0.7908 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.5246, allocations: 22.47 kB / 0.7908 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5246, allocations: 0.5 kB / 0.7908 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.028e-05/0.5247, allocations: 46.77 kB / 0.7909 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5247, allocations: 5.25 kB / 0.7909 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5247, allocations: 0.7812 kB / 0.7909 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5247, allocations: 0 / 0.7909 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.12e-05/0.5247, allocations: 12.94 kB / 0.7909 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5248, allocations: 3.375 kB / 0.7909 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.5248, allocations: 4.531 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.5248, allocations: 2.625 kB / 0.7909 GB, free: 44.66 MB / 0.6544 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 4.207e-05/0.5248, allocations: 113.3 kB / 0.791 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.5249, allocations: 7.438 kB / 0.791 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.649e-05/0.525, allocations: 117.1 kB / 0.7911 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.525, allocations: 186.5 kB / 0.7913 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.525, allocations: 102.3 kB / 0.7914 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.525, allocations: 183 kB / 0.7916 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.5251, allocations: 179.8 kB / 0.7918 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.5252, allocations: 114.6 kB / 0.7919 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.5252, allocations: 185.5 kB / 0.7921 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.14e-05/0.5253, allocations: 258.8 kB / 0.7923 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.055e-05/0.5253, allocations: 389.9 kB / 0.7927 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.638e-05/0.5254, allocations: 103.8 kB / 0.7928 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.5254, allocations: 86.3 kB / 0.7929 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of Backend: time 3.81e-07/0.5254, allocations: 1.5 kB / 0.7929 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.5258, allocations: 112.3 kB / 0.793 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003093/0.5261, allocations: 0.8541 MB / 0.7938 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.002383/0.5285, allocations: 0.5509 MB / 0.7943 GB, free: 41.69 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)