Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001865/0.001865, allocations: 110.8 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.00218/0.00218, allocations: 210.8 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2117, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006096/0.2178, allocations: 4.517 MB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.2201, allocations: 1.293 MB / 438.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.2203, allocations: 15.88 kB / 438.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.2207, allocations: 158.6 kB / 438.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006243/0.2214, allocations: 337.2 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.2218, allocations: 227.7 kB / 438.9 MB, free: 188 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.223, allocations: 1.183 MB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.2234, allocations: 218.6 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004702/0.2238, allocations: 462.4 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005916/0.2244, allocations: 0.5135 MB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.2246, allocations: 100 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.2248, allocations: 108 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.225, allocations: 215.3 kB / 441.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000441/0.2254, allocations: 454.1 kB / 442.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2266, allocations: 1.218 MB / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2266, allocations: 0 / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2266, allocations: 4 kB / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2266, allocations: 4 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002655/0.2293, allocations: 1.288 MB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2293, allocations: 8.031 kB / 444.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.2295, allocations: 116.3 kB / 444.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2306, allocations: 0.5312 MB / 445.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/0.2309, allocations: 297.2 kB / 445.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.231, allocations: 56.12 kB / 445.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.2331, allocations: 1.612 MB / 447.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.2331, allocations: 0 / 447.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.2332, allocations: 28 kB / 447.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.2332, allocations: 12 kB / 447.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.2347, allocations: 0.5985 MB / 447.9 MB, free: 6.758 MB / 350.1 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.003188/0.2378, allocations: 1.522 MB / 449.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.2392, allocations: 0.585 MB / 450 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008263/0.24, allocations: 358.6 kB / 450.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.405e-05/0.2401, allocations: 16.59 kB / 450.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.2401, allocations: 43.22 kB / 450.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/0.2401, allocations: 4 kB / 450.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005313/0.2454, allocations: 1.488 MB / 451.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004562/0.2459, allocations: 0.8233 MB / 452.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007861/0.2467, allocations: 0.6058 MB / 453.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.953e-05/0.2467, allocations: 41.7 kB / 453.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.247, allocations: 345.2 kB / 453.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.2473, allocations: 265.7 kB / 453.9 MB, free: 404 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.2475, allocations: 146.7 kB / 454.1 MB, free: 252 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.2478, allocations: 382.8 kB / 454.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/0.2485, allocations: 351 kB / 454.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.25, allocations: 1.398 MB / 456.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.2514, allocations: 0.6778 MB / 456.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2515, allocations: 0 / 456.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002859/0.2543, allocations: 1.174 MB / 458 MB, free: 11.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.2544, allocations: 89.05 kB / 458.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2544, allocations: 0 / 458.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/0.2551, allocations: 231.3 kB / 458.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.2559, allocations: 143.8 kB / 458.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008381/0.2642, allocations: 6.38 MB / 464.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.2651, allocations: 99.73 kB / 465 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.2652, allocations: 24 kB / 465 MB, free: 4.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000356/0.2655, allocations: 217.7 kB / 465.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.2657, allocations: 91.42 kB / 465.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.2659, allocations: 91 kB / 465.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002596/0.2685, allocations: 1.233 MB / 466.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2685, allocations: 0 / 466.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.2688, allocations: 163.2 kB / 466.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.2689, allocations: 20 kB / 466.8 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.2696, allocations: 59.88 kB / 466.9 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.2697, allocations: 56.55 kB / 466.9 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003176/0.2729, allocations: 1.019 MB / 467.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002365/0.2753, allocations: 1.24 MB / 469.2 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000675/0.2759, allocations: 297 kB / 469.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005232/0.2765, allocations: 431.1 kB / 469.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of Backend: time 3.3e-07/0.2765, allocations: 7.875 kB / 469.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.2787, allocations: 1.244 MB / 471.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 0.002972/0.2817, allocations: 2.183 MB / 473.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of Templates: time 0.03168/0.3134, allocations: 20.43 MB / 493.7 MB, free: 7.75 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.988329350999265] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 0.32282255799509585 0.34858611300000003 0.11705451500000001 Calling exit ...