Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008821/0.008821, allocations: 167.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.492/1.492, allocations: 170.8 MB / 186.6 MB, free: 1.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001878/0.001878, allocations: 117.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4222/0.4222, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.095/8.234, allocations: 2.56 GB / 2.962 GB, free: 47.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/8.234, allocations: 76.59 kB / 2.962 GB, free: 47.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.726/12.96, allocations: 0.9995 GB / 3.961 GB, free: 22.95 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.374e-06/12.96, allocations: 0 / 3.961 GB, free: 22.95 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002688/12.96, allocations: 77.55 kB / 3.961 GB, free: 22.94 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.02096/12.98, allocations: 4.573 MB / 3.966 GB, free: 20.76 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/12.98, allocations: 13 kB / 3.966 GB, free: 20.76 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008992/12.99, allocations: 0.9822 MB / 3.967 GB, free: 20.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00809/13, allocations: 2.27 MB / 3.969 GB, free: 20.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004149/13, allocations: 286.8 kB / 3.969 GB, free: 20.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/13, allocations: 243.1 kB / 3.969 GB, free: 20.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/13.01, allocations: 4.501 MB / 3.974 GB, free: 19.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.765e-05/13.01, allocations: 9.562 kB / 3.974 GB, free: 19.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004066/13.01, allocations: 112.4 kB / 3.974 GB, free: 19.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002617/13.01, allocations: 222 kB / 3.974 GB, free: 19.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009198/13.02, allocations: 4.197 MB / 3.978 GB, free: 19.39 MB / 474.7 MB 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.0262/13.05, allocations: 19.04 MB / 3.997 GB, free: 8.535 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0064/13.05, allocations: 2.89 MB / 4 GB, free: 8.473 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03289/13.09, allocations: 16.99 MB / 4.016 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/13.09, allocations: 63.12 kB / 4.016 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002824/13.09, allocations: 239.6 kB / 4.017 GB, free: 13.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=194): time 1.457e-05/13.09, allocations: 0 / 4.017 GB, free: 13.46 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: heater.mediums[1].p 3: tank.medium.h 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.05823/13.15, allocations: 17.85 MB / 4.034 GB, free: 10.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/13.15, allocations: 122.6 kB / 4.034 GB, free: 10.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/13.15, allocations: 1.681 MB / 4.036 GB, free: 10.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003135/13.15, allocations: 67.77 kB / 4.036 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007933/13.15, allocations: 1.145 MB / 4.037 GB, free: 10 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006882/13.15, allocations: 0.7272 MB / 4.038 GB, free: 9.531 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/13.15, allocations: 47.66 kB / 4.038 GB, free: 9.531 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002162/13.15, allocations: 400.2 kB / 4.038 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/13.16, allocations: 1.45 MB / 4.039 GB, free: 9.211 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/13.16, allocations: 1.943 MB / 4.041 GB, free: 8.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/13.16, allocations: 1.655 MB / 4.043 GB, free: 8.094 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/13.16, allocations: 7.797 kB / 4.043 GB, free: 8.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.0081/13.17, allocations: 4.323 MB / 4.047 GB, free: 5.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002771/13.17, allocations: 5.532 MB / 4.053 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/13.17, allocations: 16 kB / 4.053 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004736/13.18, allocations: 1.21 MB / 4.054 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/13.18, allocations: 0.5324 MB / 4.054 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/13.18, allocations: 5.749 MB / 4.06 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00413/13.19, allocations: 317.9 kB / 4.06 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007107/13.19, allocations: 117 kB / 4.06 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/13.19, allocations: 0 / 4.06 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009692/13.2, allocations: 3.754 MB / 4.064 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.05e-05/13.2, allocations: 12 kB / 4.064 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/13.2, allocations: 0.6598 MB / 4.065 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/13.2, allocations: 0.5908 MB / 4.065 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4343/13.64, allocations: 8.559 MB / 4.074 GB, free: 48.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/13.64, allocations: 309.9 kB / 4.074 GB, free: 48.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004903/13.64, allocations: 113.5 kB / 4.074 GB, free: 48.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 5,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002408/13.65, allocations: 0.8056 MB / 4.075 GB, free: 47.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007784/13.65, allocations: 235.6 kB / 4.075 GB, free: 47.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/13.66, allocations: 9.462 MB / 4.084 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.965e-05/13.66, allocations: 106.5 kB / 4.084 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/13.66, allocations: 2.484 kB / 4.084 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01094/13.67, allocations: 8.336 MB / 4.092 GB, free: 46.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02142/13.69, allocations: 13.74 MB / 4.106 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/13.69, allocations: 1.156 kB / 4.106 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/13.7, allocations: 409.1 kB / 4.106 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006548/13.7, allocations: 2.311 MB / 4.109 GB, free: 45.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006249/13.7, allocations: 75.53 kB / 4.109 GB, free: 45.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005582/13.71, allocations: 7.006 MB / 4.115 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/13.71, allocations: 3.047 kB / 4.115 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/13.73, allocations: 10.34 MB / 4.126 GB, free: 40.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00384/13.73, allocations: 0.8278 MB / 4.126 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/13.73, allocations: 57.41 kB / 4.126 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003821/13.73, allocations: 263.1 kB / 4.127 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006443/13.74, allocations: 201 kB / 4.127 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/13.74, allocations: 84.8 kB / 4.127 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002712/13.74, allocations: 1.339 MB / 4.128 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/13.74, allocations: 0 / 4.128 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01587/13.75, allocations: 3.078 MB / 4.131 GB, free: 40.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (tank.medium.h,tank.level,heater.mediums[1].p,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 4,1 1,2 9,1 1,4 18,1 1,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01726/13.77, allocations: 3.048 MB / 4.134 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01627/13.79, allocations: 6.665 MB / 4.141 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/13.79, allocations: 3.984 kB / 4.141 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006992/13.79, allocations: 3.066 MB / 4.144 GB, free: 39.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007945/13.8, allocations: 1.086 MB / 4.145 GB, free: 39.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/13.83, allocations: 10.52 MB / 4.155 GB, free: 35.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/13.83, allocations: 2.576 MB / 4.158 GB, free: 34.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006146/13.84, allocations: 3.076 MB / 4.161 GB, free: 34.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007076/13.84, allocations: 205.7 kB / 4.161 GB, free: 34.71 MB / 0.4948 GB Notification: Performance of SimCode: time 1.432e-06/13.84, allocations: 2.906 kB / 4.161 GB, free: 34.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.5543/14.39, allocations: 100.8 MB / 4.259 GB, free: 67.14 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)