Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001548/0.001548, allocations: 175.9 kB / 12.73 MB, free: 2.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.59/1.59, allocations: 194.3 MB / 207.5 MB, free: 3.387 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001719/0.001719, allocations: 110.6 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2039/0.2039, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.477e-05, allocations: 7.984 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09684, allocations: 54.85 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.942/6.039, allocations: 2.67 GB / 3.115 GB, free: 91.78 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/6.039, allocations: 82.8 kB / 3.115 GB, free: 91.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608/10.65, allocations: 1.022 GB / 4.137 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.274e-06/10.65, allocations: 0 / 4.137 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002681/10.65, allocations: 78.48 kB / 4.137 GB, free: 30.21 MB / 0.5105 GB 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.02242/10.67, allocations: 4.386 MB / 4.141 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.055e-05/10.67, allocations: 18.58 kB / 4.141 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009637/10.68, allocations: 1.035 MB / 4.142 GB, free: 28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008607/10.69, allocations: 2.247 MB / 4.145 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004822/10.69, allocations: 281.9 kB / 4.145 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/10.69, allocations: 248 kB / 4.145 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/10.71, allocations: 4.46 MB / 4.149 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002017/10.71, allocations: 12.25 kB / 4.149 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/10.71, allocations: 110 kB / 4.15 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004022/10.71, allocations: 220.5 kB / 4.15 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/10.72, allocations: 4.047 MB / 4.154 GB, free: 26.79 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.03575/10.76, allocations: 19.03 MB / 4.172 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006509/10.76, allocations: 2.775 MB / 4.175 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002582/10.77, allocations: 1.477 MB / 4.176 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03558/10.8, allocations: 17.07 MB / 4.193 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/10.8, allocations: 58.16 kB / 4.193 GB, free: 21.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003822/10.81, allocations: 244.4 kB / 4.193 GB, free: 21.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=194): time 1.768e-05/10.81, allocations: 0 / 4.193 GB, free: 21.03 MB / 0.5261 GB 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: tank.medium.h 3: heater.mediums[1].p 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.05126/10.86, allocations: 13.1 MB / 4.206 GB, free: 19.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/10.86, allocations: 130.3 kB / 4.206 GB, free: 19.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004666/10.86, allocations: 1.665 MB / 4.208 GB, free: 19.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008468/10.86, allocations: 62.95 kB / 4.208 GB, free: 19.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/10.86, allocations: 1.14 MB / 4.209 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001467/10.87, allocations: 0.7316 MB / 4.21 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000638/10.87, allocations: 49.19 kB / 4.21 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003969/10.87, allocations: 404 kB / 4.21 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/10.87, allocations: 1.317 MB / 4.212 GB, free: 18.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/10.87, allocations: 1.826 MB / 4.213 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/10.88, allocations: 1.533 MB / 4.215 GB, free: 17.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/10.88, allocations: 3.844 kB / 4.215 GB, free: 17.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.009991/10.89, allocations: 4.048 MB / 4.219 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002995/10.89, allocations: 5.535 MB / 4.224 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.894e-05/10.89, allocations: 16.77 kB / 4.224 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004559/10.89, allocations: 1.143 MB / 4.225 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/10.9, allocations: 0.5233 MB / 4.226 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005961/10.9, allocations: 5.706 MB / 4.231 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/10.91, allocations: 327.6 kB / 4.232 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008971/10.91, allocations: 119.3 kB / 4.232 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/10.91, allocations: 3.75 kB / 4.232 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008815/10.92, allocations: 3.498 MB / 4.235 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.344e-05/10.92, allocations: 11.81 kB / 4.235 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/10.92, allocations: 0.6376 MB / 4.236 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/10.92, allocations: 0.588 MB / 4.236 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/10.93, allocations: 8.477 MB / 4.245 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/10.94, allocations: 304.6 kB / 4.245 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/10.94, allocations: 116.6 kB / 4.245 GB, free: 11.78 MB / 0.5417 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 () * 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.00208/10.94, allocations: 261 kB / 4.245 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/10.94, allocations: 237.1 kB / 4.246 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/10.96, allocations: 9.371 MB / 4.255 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/10.96, allocations: 112.5 kB / 4.255 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/10.96, allocations: 0 / 4.255 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5484/11.51, allocations: 8.248 MB / 4.263 GB, free: 57.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/11.53, allocations: 13.61 MB / 4.276 GB, free: 56.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/11.53, allocations: 1.438 kB / 4.276 GB, free: 56.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/11.53, allocations: 412.2 kB / 4.277 GB, free: 56.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006159/11.54, allocations: 2.678 MB / 4.279 GB, free: 56.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006428/11.54, allocations: 78.19 kB / 4.279 GB, free: 56.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005247/11.55, allocations: 6.924 MB / 4.286 GB, free: 52.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/11.55, allocations: 3.969 kB / 4.286 GB, free: 52.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/11.56, allocations: 9.966 MB / 4.296 GB, free: 51.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003341/11.57, allocations: 0.8295 MB / 4.297 GB, free: 51.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000992/11.57, allocations: 59.55 kB / 4.297 GB, free: 51.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/11.57, allocations: 254.4 kB / 4.297 GB, free: 51.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004583/11.57, allocations: 209.1 kB / 4.297 GB, free: 51.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/11.57, allocations: 84.56 kB / 4.297 GB, free: 51.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002404/11.57, allocations: 1.313 MB / 4.298 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.01e-07/11.57, allocations: 1.031 kB / 4.298 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01656/11.59, allocations: 3.101 MB / 4.302 GB, free: 51.48 MB / 0.5417 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 () * 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.01736/11.61, allocations: 3.08 MB / 4.305 GB, free: 51.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0145/11.62, allocations: 6.434 MB / 4.311 GB, free: 50.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/11.62, allocations: 0 / 4.311 GB, free: 50.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006047/11.63, allocations: 2.977 MB / 4.314 GB, free: 50.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00755/11.64, allocations: 1.086 MB / 4.315 GB, free: 50.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/11.65, allocations: 7.36 MB / 4.322 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004041/11.66, allocations: 2.576 MB / 4.324 GB, free: 48.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009232/11.67, allocations: 3.293 MB / 4.328 GB, free: 48.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/11.67, allocations: 175.8 kB / 4.328 GB, free: 48.53 MB / 0.5417 GB Notification: Performance of SimCode: time 2.585e-06/11.67, allocations: 2.156 kB / 4.328 GB, free: 48.53 MB / 0.5417 GB Notification: Performance of Templates: time 0.1767/11.85, allocations: 107.4 MB / 4.433 GB, free: 14.72 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)