Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 110.7 kB / 17.09 MB, free: 6.02 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.001173/0.001173, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.291/1.291, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1996/0.1996, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.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.001321/0.001321, allocations: 67.91 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.3268/0.4376, allocations: 90.22 MB / 0.5767 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03168/0.4693, allocations: 21.3 MB / 0.5975 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003277/0.4727, allocations: 88.5 kB / 0.5976 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.4755, allocations: 0.938 MB / 0.5985 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.4862, allocations: 3.721 MB / 0.6021 GB, free: 3.855 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01476/0.501, allocations: 5.629 MB / 0.6076 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009813/0.5109, allocations: 7.035 MB / 0.6145 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00321/0.5141, allocations: 1.846 MB / 0.6163 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1526/0.6667, allocations: 74.9 MB / 0.6894 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06172/0.7285, allocations: 31.93 MB / 0.7206 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.7297, allocations: 252 kB / 0.7209 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01351/0.7433, allocations: 6.085 MB / 0.7268 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.7452, allocations: 1.083 MB / 0.7279 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00329/0.7485, allocations: 1.493 MB / 0.7293 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.7592, allocations: 5.532 MB / 0.7347 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7592, allocations: 0 / 0.7347 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.449e-06/0.7592, allocations: 0 / 0.7347 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001393/0.7593, allocations: 3.938 kB / 0.7347 GB, free: 12.61 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.0102/0.7696, allocations: 3.492 MB / 0.7381 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.7696, allocations: 11.89 kB / 0.7381 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.7711, allocations: 304.6 kB / 0.7384 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/0.7744, allocations: 1.684 MB / 0.7401 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.7747, allocations: 215.1 kB / 0.7403 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005082/0.7752, allocations: 188 kB / 0.7405 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005925/0.7811, allocations: 3.301 MB / 0.7437 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.121e-05/0.7812, allocations: 11.84 kB / 0.7437 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003442/0.7816, allocations: 83.95 kB / 0.7438 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003133/0.7819, allocations: 255.6 kB / 0.744 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005731/0.7876, allocations: 3.111 MB / 0.7471 GB, free: 15.71 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.8105, allocations: 13.79 MB / 0.7605 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2318/1.042, allocations: 2.215 MB / 0.7627 GB, free: 225.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/1.045, allocations: 1.362 MB / 0.764 GB, free: 225.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008516/1.053, allocations: 5.862 MB / 0.7697 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.053, allocations: 57.17 kB / 0.7698 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000674/1.054, allocations: 178 kB / 0.77 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=171): time 4.058e-06/1.054, allocations: 3.969 kB / 0.77 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=197): time 0.0314/1.085, allocations: 10.63 MB / 0.7804 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/1.086, allocations: 73.17 kB / 0.7804 GB, free: 218.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/1.089, allocations: 1.844 MB / 0.7822 GB, free: 218 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002115/1.089, allocations: 62.27 kB / 0.7823 GB, free: 218 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007419/1.089, allocations: 1.065 MB / 0.7833 GB, free: 217.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/1.09, allocations: 0.6775 MB / 0.784 GB, free: 216.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007686/1.091, allocations: 454 kB / 0.7844 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/1.091, allocations: 305.1 kB / 0.7847 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/1.093, allocations: 1.23 MB / 0.7859 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/1.096, allocations: 1.808 MB / 0.7877 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004092/1.1, allocations: 3.158 MB / 0.7908 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.1, allocations: 5.469 kB / 0.7908 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006958/1.107, allocations: 4.017 MB / 0.7947 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/1.107, allocations: 9.719 kB / 0.7947 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/1.107, allocations: 21.81 kB / 0.7947 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/1.111, allocations: 1.242 MB / 0.7959 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.113, allocations: 474.6 kB / 0.7964 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/1.12, allocations: 11.17 MB / 0.8073 GB, free: 199.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.123, allocations: 98.03 kB / 0.8074 GB, free: 199.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.123, allocations: 119.9 kB / 0.8075 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00244/1.125, allocations: 1.668 MB / 0.8091 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001734/1.127, allocations: 1.754 MB / 0.8108 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00326/1.13, allocations: 3.045 MB / 0.8138 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.266e-06/1.13, allocations: 4 kB / 0.8138 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.005653/1.136, allocations: 3.776 MB / 0.8175 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.136, allocations: 19.98 kB / 0.8175 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/1.136, allocations: 16 kB / 0.8175 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/1.138, allocations: 0.8565 MB / 0.8184 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/1.14, allocations: 0.4992 MB / 0.8189 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007151/1.147, allocations: 10.89 MB / 0.8295 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/1.15, allocations: 91.94 kB / 0.8296 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/1.15, allocations: 115.9 kB / 0.8297 GB, free: 175.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,6,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,14), (2,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007891/1.151, allocations: 327.5 kB / 0.83 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007956/1.152, allocations: 229.2 kB / 0.8302 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007419/1.159, allocations: 3.958 MB / 0.8341 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005015/1.164, allocations: 3.381 MB / 0.8374 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.164, allocations: 3.984 kB / 0.8374 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.166, allocations: 0.5838 MB / 0.838 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007583/1.166, allocations: 55.98 kB / 0.838 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.168, allocations: 71.89 kB / 0.8381 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003689/1.168, allocations: 177.7 kB / 0.8383 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007718/1.176, allocations: 3.759 MB / 0.8419 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006541/1.183, allocations: 4.722 MB / 0.8465 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001773/1.185, allocations: 1.394 MB / 0.8479 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002049/1.187, allocations: 1.232 MB / 0.8491 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of Backend: time 1.393e-06/1.187, allocations: 0 / 0.8491 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.2, allocations: 6.093 MB / 0.8551 GB, free: 149.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.009832/1.21, allocations: 6.049 MB / 0.861 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.09311/1.303, allocations: 73.3 MB / 0.9326 GB, free: 69.79 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)