Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(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_4.0.0_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_4.0.0_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.00114/0.00114, allocations: 112.9 kB / 18.46 MB, free: 4.594 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.001058/0.001058, allocations: 187 kB / 19.39 MB, free: 3.668 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.273/1.273, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1929/0.1929, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.91 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.333, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.08466/0.4177, allocations: 90.14 MB / 0.6076 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0309/0.4486, allocations: 21.32 MB / 0.6285 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.4513, allocations: 91.44 kB / 0.6285 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.4536, allocations: 0.9395 MB / 0.6295 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0095/0.4631, allocations: 3.772 MB / 0.6331 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01437/0.4775, allocations: 5.665 MB / 0.6387 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009097/0.4866, allocations: 7.05 MB / 0.6456 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003223/0.4899, allocations: 1.852 MB / 0.6474 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4944/0.9843, allocations: 74.96 MB / 0.7206 GB, free: 72.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06765/1.052, allocations: 31.91 MB / 0.7517 GB, free: 63.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009114/1.053, allocations: 251.2 kB / 0.752 GB, free: 63.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/1.066, allocations: 6.095 MB / 0.7579 GB, free: 62.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001725/1.068, allocations: 1.086 MB / 0.759 GB, free: 62.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002249/1.07, allocations: 1.498 MB / 0.7604 GB, free: 62.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009444/1.08, allocations: 5.554 MB / 0.7659 GB, free: 61.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.08, allocations: 0 / 0.7659 GB, free: 61.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/1.08, allocations: 0 / 0.7659 GB, free: 61.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.294e-05/1.08, allocations: 0 / 0.7659 GB, free: 61.51 MB / 0.5606 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.009085/1.089, allocations: 3.595 MB / 0.7694 GB, free: 59.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/1.089, allocations: 8.406 kB / 0.7694 GB, free: 59.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/1.09, allocations: 328.4 kB / 0.7697 GB, free: 59.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/1.093, allocations: 1.684 MB / 0.7713 GB, free: 58.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/1.093, allocations: 222.2 kB / 0.7716 GB, free: 58.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/1.094, allocations: 197.5 kB / 0.7717 GB, free: 58.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004183/1.098, allocations: 3.294 MB / 0.775 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/1.098, allocations: 7.281 kB / 0.775 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/1.098, allocations: 82.03 kB / 0.7751 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/1.098, allocations: 256.4 kB / 0.7753 GB, free: 55.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/1.103, allocations: 3.106 MB / 0.7783 GB, free: 53.66 MB / 0.5606 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.01487/1.118, allocations: 13.82 MB / 0.7918 GB, free: 41.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/1.121, allocations: 2.213 MB / 0.794 GB, free: 40.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/1.123, allocations: 1.369 MB / 0.7953 GB, free: 39.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006685/1.129, allocations: 5.881 MB / 0.8011 GB, free: 33.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.13, allocations: 52.31 kB / 0.8011 GB, free: 33.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005792/1.13, allocations: 174.3 kB / 0.8013 GB, free: 33.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 3.697e-06/1.13, allocations: 0 / 0.8013 GB, free: 33.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197): time 0.02619/1.156, allocations: 10.69 MB / 0.8117 GB, free: 23.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/1.156, allocations: 69.41 kB / 0.8118 GB, free: 23.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/1.158, allocations: 1.841 MB / 0.8136 GB, free: 21.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/1.158, allocations: 61.7 kB / 0.8136 GB, free: 21.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/1.159, allocations: 1.084 MB / 0.8147 GB, free: 20.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/1.159, allocations: 0.7191 MB / 0.8154 GB, free: 19.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006364/1.16, allocations: 456.5 kB / 0.8158 GB, free: 19.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.21e-05/1.16, allocations: 305.1 kB / 0.8161 GB, free: 19.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/1.162, allocations: 1.229 MB / 0.8173 GB, free: 17.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/1.164, allocations: 1.802 MB / 0.8191 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/1.167, allocations: 3.16 MB / 0.8222 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/1.167, allocations: 4 kB / 0.8222 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006417/1.174, allocations: 4.026 MB / 0.8261 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/1.174, allocations: 15.84 kB / 0.8261 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/1.174, allocations: 16 kB / 0.8261 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004279/1.178, allocations: 1.245 MB / 0.8274 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/1.18, allocations: 473.2 kB / 0.8278 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009025/1.189, allocations: 11.2 MB / 0.8387 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/1.191, allocations: 95.94 kB / 0.8388 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002972/1.192, allocations: 116 kB / 0.8389 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003022/1.195, allocations: 1.676 MB / 0.8406 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002478/1.197, allocations: 1.754 MB / 0.8423 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004421/1.202, allocations: 3.051 MB / 0.8453 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.12e-05/1.202, allocations: 8 kB / 0.8453 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.006881/1.208, allocations: 3.783 MB / 0.849 GB, free: 192 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.209, allocations: 12 kB / 0.849 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/1.209, allocations: 19.98 kB / 0.849 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/1.211, allocations: 0.8477 MB / 0.8498 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/1.213, allocations: 0.4949 MB / 0.8503 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00955/1.223, allocations: 10.89 MB / 0.861 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.225, allocations: 99.94 kB / 0.861 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000543/1.226, allocations: 108 kB / 0.8612 GB, free: 3.023 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.0009718/1.227, allocations: 328.3 kB / 0.8615 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007236/1.228, allocations: 238.5 kB / 0.8617 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007683/1.235, allocations: 3.962 MB / 0.8656 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005707/1.241, allocations: 3.372 MB / 0.8689 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/1.241, allocations: 0 / 0.8689 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.242, allocations: 0.6078 MB / 0.8694 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005599/1.243, allocations: 59.98 kB / 0.8695 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/1.244, allocations: 63.95 kB / 0.8696 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/1.245, allocations: 169.7 kB / 0.8697 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008733/1.254, allocations: 3.776 MB / 0.8734 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007545/1.261, allocations: 4.727 MB / 0.878 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002061/1.263, allocations: 1.394 MB / 0.8794 GB, free: 308 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002267/1.266, allocations: 1.239 MB / 0.8806 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of Backend: time 5.01e-07/1.266, allocations: 0 / 0.8806 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01474/1.28, allocations: 6.099 MB / 0.8866 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01156/1.292, allocations: 6.135 MB / 0.8925 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of Templates: time 0.1213/1.413, allocations: 71.9 MB / 0.9628 GB, free: 11.6 MB / 0.7012 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)