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.00185/0.00185, allocations: 87.67 kB / 20.96 MB, free: 3.441 MB / 18.57 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.001965/0.001965, allocations: 161.3 kB / 24.27 MB, free: 140 kB / 18.57 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.593/1.593, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 1.974e-06/1.974e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.931e-05, allocations: 2.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.2303/0.2303, allocations: 92.23 MB / 364.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05322/0.2835, allocations: 21.2 MB / 385.7 MB, free: 68 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003504/0.287, allocations: 126.9 kB / 385.9 MB, free: 15.94 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.2908, allocations: 0.9314 MB / 386.8 MB, free: 15 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.3022, allocations: 4.002 MB / 390.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01658/0.3188, allocations: 6.717 MB / 397.5 MB, free: 4.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.3293, allocations: 6.948 MB / 404.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002899/0.3322, allocations: 1.693 MB / 406.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.342/0.6742, allocations: 75.35 MB / 481.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.09677/0.771, allocations: 31.76 MB / 0.5012 GB, free: 10.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.7722, allocations: 248 kB / 0.5015 GB, free: 10.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02053/0.7927, allocations: 5.456 MB / 0.5068 GB, free: 5.875 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002608/0.7953, allocations: 1.187 MB / 0.508 GB, free: 5.258 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002777/0.7981, allocations: 1.07 MB / 0.509 GB, free: 4.602 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.8132, allocations: 5.766 MB / 0.5146 GB, free: 204 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.8132, allocations: 0 / 0.5146 GB, free: 204 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8132, allocations: 0 / 0.5146 GB, free: 204 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.8133, allocations: 0 / 0.5146 GB, free: 204 kB / 394.7 MB 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.01425/0.8275, allocations: 3.794 MB / 0.5183 GB, free: 12.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.8276, allocations: 8.031 kB / 0.5183 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.8298, allocations: 0.5072 MB / 0.5188 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005868/0.8357, allocations: 1.64 MB / 0.5204 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/0.8362, allocations: 270 kB / 0.5207 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008501/0.837, allocations: 202.1 kB / 0.5209 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009361/0.8464, allocations: 2.866 MB / 0.5237 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.388e-05/0.8465, allocations: 15.27 kB / 0.5237 GB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.8469, allocations: 86.72 kB / 0.5238 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005933/0.8475, allocations: 250.7 kB / 0.524 GB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007891/0.8554, allocations: 1.849 MB / 0.5258 GB, free: 4.641 MB / 410.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.0343/0.8897, allocations: 10.93 MB / 0.5365 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006606/0.8963, allocations: 1.64 MB / 0.5381 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003533/0.8998, allocations: 0.9178 MB / 0.539 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/0.9131, allocations: 3.037 MB / 0.542 GB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.4e-05/0.9132, allocations: 55.39 kB / 0.542 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001076/0.9143, allocations: 154.9 kB / 0.5422 GB, free: 4.051 MB / 426.7 MB Notification: Performance of pre-optimization done (n=170): time 7.545e-06/0.9143, allocations: 0 / 0.5422 GB, free: 4.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=196): time 0.03563/0.9499, allocations: 7.253 MB / 0.5492 GB, free: 12.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.95, allocations: 77.41 kB / 0.5493 GB, free: 12.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/0.9546, allocations: 1.757 MB / 0.551 GB, free: 10.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002792/0.9549, allocations: 64.89 kB / 0.5511 GB, free: 10.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/0.9566, allocations: 1.222 MB / 0.5523 GB, free: 9.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.9579, allocations: 0.7615 MB / 0.553 GB, free: 8.898 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.9595, allocations: 0.522 MB / 0.5535 GB, free: 8.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003268/0.9598, allocations: 481.1 kB / 0.554 GB, free: 7.898 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002972/0.9628, allocations: 0.822 MB / 0.5548 GB, free: 7.066 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004406/0.9672, allocations: 1.696 MB / 0.5565 GB, free: 5.043 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00793/0.9751, allocations: 2.79 MB / 0.5592 GB, free: 1.996 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.53e-05/0.9751, allocations: 8 kB / 0.5592 GB, free: 1.988 MB / 442.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.01145/0.9866, allocations: 3.319 MB / 0.5624 GB, free: 14.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.9866, allocations: 12 kB / 0.5625 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.137e-05/0.9867, allocations: 16 kB / 0.5625 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02341/1.01, allocations: 3.415 MB / 0.5658 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/1.012, allocations: 327.4 kB / 0.5661 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/1.024, allocations: 3.248 MB / 0.5693 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/1.027, allocations: 87.95 kB / 0.5694 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000599/1.028, allocations: 116 kB / 0.5695 GB, free: 7.586 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004337/1.032, allocations: 1.136 MB / 0.5706 GB, free: 6.441 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004619/1.037, allocations: 1.686 MB / 0.5722 GB, free: 4.414 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007654/1.044, allocations: 2.718 MB / 0.5749 GB, free: 1.438 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.988e-05/1.044, allocations: 8 kB / 0.5749 GB, free: 1.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=298) (initialization_lambda0): time 0.01079/1.055, allocations: 3.163 MB / 0.578 GB, free: 14.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/1.055, allocations: 16 kB / 0.578 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-05/1.055, allocations: 16 kB / 0.578 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/1.071, allocations: 2.508 MB / 0.5805 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/1.074, allocations: 365.1 kB / 0.5808 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007989/1.082, allocations: 2.924 MB / 0.5837 GB, free: 8.547 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/1.084, allocations: 98.45 kB / 0.5838 GB, free: 8.453 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/1.084, allocations: 112 kB / 0.5839 GB, free: 8.344 MB / 474.7 MB 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 (174): * Single equations (assignments): 173 * 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.0007803/1.085, allocations: 396.5 kB / 0.5842 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009046/1.086, allocations: 278.6 kB / 0.5845 GB, free: 7.699 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008415/1.094, allocations: 3.128 MB / 0.5876 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/1.094, allocations: 32 kB / 0.5876 GB, free: 4.535 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/1.094, allocations: 4 kB / 0.5876 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005925/1.1, allocations: 2.608 MB / 0.5901 GB, free: 1.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1371/1.237, allocations: 5.056 MB / 0.5951 GB, free: 219.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.237, allocations: 1.094 kB / 0.5951 GB, free: 219.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.239, allocations: 313.6 kB / 0.5954 GB, free: 219.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004442/1.243, allocations: 1.108 MB / 0.5965 GB, free: 219 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003205/1.244, allocations: 70.67 kB / 0.5965 GB, free: 219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008769/1.252, allocations: 13.6 MB / 0.6098 GB, free: 207.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.252, allocations: 3.969 kB / 0.6098 GB, free: 207.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008466/1.261, allocations: 3.921 MB / 0.6137 GB, free: 206 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.262, allocations: 467.7 kB / 0.6141 GB, free: 205.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004942/1.263, allocations: 55.56 kB / 0.6142 GB, free: 205.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/1.264, allocations: 65.44 kB / 0.6142 GB, free: 205.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/1.265, allocations: 172.9 kB / 0.6144 GB, free: 205.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.265, allocations: 77.83 kB / 0.6145 GB, free: 205.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001391/1.266, allocations: 0.9984 MB / 0.6154 GB, free: 205.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.01e-07/1.266, allocations: 0 / 0.6154 GB, free: 205.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00435/1.271, allocations: 1.739 MB / 0.6171 GB, free: 205.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (2,8), (5,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002458/1.273, allocations: 1.085 MB / 0.6182 GB, free: 205.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009128/1.282, allocations: 4.09 MB / 0.6222 GB, free: 203.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.282, allocations: 3.906 kB / 0.6222 GB, free: 203.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003526/1.286, allocations: 2.175 MB / 0.6243 GB, free: 201.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004671/1.29, allocations: 0.9948 MB / 0.6253 GB, free: 200.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007826/1.298, allocations: 5.01 MB / 0.6302 GB, free: 196 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.299, allocations: 1.248 MB / 0.6314 GB, free: 194.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002387/1.302, allocations: 0.7916 MB / 0.6322 GB, free: 194 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/1.302, allocations: 180.5 kB / 0.6323 GB, free: 193.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/1.302, allocations: 0 / 0.6323 GB, free: 193.8 MB / 474.7 MB Notification: Performance of Templates: time 0.07809/1.38, allocations: 66.78 MB / 0.6976 GB, free: 127.8 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.46380736597348]