Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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="Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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="Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2049, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.09702/0.3019, allocations: 81.72 MB / 0.502 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03191/0.3338, allocations: 19.63 MB / 0.5212 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.3358, allocations: 122.9 kB / 0.5213 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.3381, allocations: 0.9201 MB / 0.5222 GB, free: 24 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009355/0.3474, allocations: 3.892 MB / 0.526 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01348/0.3609, allocations: 6.043 MB / 0.5319 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2125/0.5734, allocations: 7.419 MB / 0.5391 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/0.576, allocations: 1.636 MB / 0.5407 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1373/0.7133, allocations: 74.47 MB / 0.6134 GB, free: 3.902 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06577/0.7791, allocations: 31.91 MB / 0.6446 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008983/0.78, allocations: 248 kB / 0.6448 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.7924, allocations: 5.506 MB / 0.6502 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.7939, allocations: 1.128 MB / 0.6513 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.7959, allocations: 1.262 MB / 0.6526 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008205/0.8041, allocations: 5.41 MB / 0.6578 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.8041, allocations: 0 / 0.6578 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8041, allocations: 4 kB / 0.6578 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.208e-05/0.8042, allocations: 3.938 kB / 0.6578 GB, free: 10.34 MB / 0.5137 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.008607/0.8128, allocations: 3.513 MB / 0.6613 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8128, allocations: 8.031 kB / 0.6613 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009945/0.8138, allocations: 326.1 kB / 0.6616 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/0.8172, allocations: 1.596 MB / 0.6632 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.8174, allocations: 270.7 kB / 0.6634 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.8178, allocations: 197.9 kB / 0.6636 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005832/0.8236, allocations: 3.666 MB / 0.6672 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/0.8237, allocations: 3.281 kB / 0.6672 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.8239, allocations: 85.7 kB / 0.6673 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003503/0.8243, allocations: 255 kB / 0.6675 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005516/0.8298, allocations: 3.108 MB / 0.6705 GB, free: 13.26 MB / 0.5294 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.01826/0.8481, allocations: 9.673 MB / 0.68 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.8524, allocations: 2.12 MB / 0.6821 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/0.8548, allocations: 1.285 MB / 0.6833 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008126/0.8629, allocations: 3.442 MB / 0.6867 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.863, allocations: 52.56 kB / 0.6867 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005419/0.8635, allocations: 150.5 kB / 0.6869 GB, free: 12.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=171): time 3.867e-06/0.8635, allocations: 0 / 0.6869 GB, free: 12.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=197): time 0.02361/0.8871, allocations: 8.862 MB / 0.6955 GB, free: 3.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.8872, allocations: 77.41 kB / 0.6956 GB, free: 3.719 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.8892, allocations: 1.486 MB / 0.6971 GB, free: 2.227 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.8894, allocations: 61.7 kB / 0.6971 GB, free: 2.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008566/0.8902, allocations: 1.089 MB / 0.6982 GB, free: 1.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006524/0.8909, allocations: 0.7111 MB / 0.6989 GB, free: 376 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008431/0.8917, allocations: 455.6 kB / 0.6993 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8918, allocations: 309.1 kB / 0.6996 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.894, allocations: 1.232 MB / 0.7008 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.8968, allocations: 1.801 MB / 0.7026 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005051/0.9018, allocations: 3.167 MB / 0.7057 GB, free: 9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.9018, allocations: 4 kB / 0.7057 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007704/0.9095, allocations: 4.203 MB / 0.7098 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.9096, allocations: 12 kB / 0.7098 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.9096, allocations: 16 kB / 0.7098 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/0.9251, allocations: 3.629 MB / 0.7133 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.9264, allocations: 330.1 kB / 0.7136 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006924/0.9333, allocations: 3.957 MB / 0.7175 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.9351, allocations: 95.94 kB / 0.7176 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.9353, allocations: 116 kB / 0.7177 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002975/0.9383, allocations: 1.676 MB / 0.7193 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002621/0.9409, allocations: 1.753 MB / 0.7211 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0048/0.9457, allocations: 3.054 MB / 0.724 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.061e-05/0.9458, allocations: 4 kB / 0.724 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.007232/0.953, allocations: 3.956 MB / 0.7279 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.953, allocations: 12.94 kB / 0.7279 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.953, allocations: 16 kB / 0.7279 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/0.9638, allocations: 2.743 MB / 0.7306 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.9654, allocations: 372.5 kB / 0.731 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/0.9712, allocations: 3.466 MB / 0.7344 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.9729, allocations: 99.95 kB / 0.7345 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.9732, allocations: 108 kB / 0.7346 GB, free: 11.25 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 (175): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.0005826/0.9738, allocations: 319.7 kB / 0.7349 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.9742, allocations: 210.7 kB / 0.7351 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008495/0.9827, allocations: 3.913 MB / 0.7389 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006453/0.9891, allocations: 3.363 MB / 0.7422 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.9891, allocations: 0 / 0.7422 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.9905, allocations: 0.506 MB / 0.7427 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/0.9909, allocations: 51.98 kB / 0.7427 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.9922, allocations: 67.95 kB / 0.7428 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003721/0.9926, allocations: 184.5 kB / 0.7429 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008959/1.002, allocations: 3.739 MB / 0.7466 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007691/1.009, allocations: 4.715 MB / 0.7512 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002774/1.012, allocations: 1.319 MB / 0.7525 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002058/1.014, allocations: 0.9588 MB / 0.7534 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of Backend: time 3.2e-07/1.014, allocations: 3.281 kB / 0.7534 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01323/1.027, allocations: 4.745 MB / 0.7581 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of SimCode: time 0.1783/1.206, allocations: 6.01 MB / 0.7639 GB, free: 274.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.07748/1.283, allocations: 72.97 MB / 0.8352 GB, free: 213.1 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.0445839899985] Failed to read output from testmodel.py, exit status != 0: ['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'] 1.290805688004184 1.299627532 0.493166475 Calling exit ...