Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.83 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2096, allocations: 53.32 MB / 432.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006222/0.2158, allocations: 5.086 MB / 437.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2178, allocations: 1.334 MB / 438.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.218, allocations: 11.94 kB / 438.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.2183, allocations: 162.5 kB / 438.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.2189, allocations: 341.2 kB / 439 MB, free: 480 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.2193, allocations: 227.6 kB / 439.2 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.2206, allocations: 1.176 MB / 440.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.2209, allocations: 210.2 kB / 440.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.2214, allocations: 458.4 kB / 441 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/0.222, allocations: 0.5057 MB / 441.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.2222, allocations: 104 kB / 441.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2223, allocations: 115.9 kB / 441.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.2225, allocations: 227.2 kB / 442 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.223, allocations: 0.5172 MB / 442.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.2242, allocations: 1.206 MB / 443.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2242, allocations: 4 kB / 443.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2242, allocations: 0 / 443.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.2242, allocations: 0 / 443.7 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.002548/0.2268, allocations: 1.363 MB / 445.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2268, allocations: 16.02 kB / 445.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.227, allocations: 112.3 kB / 445.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.228, allocations: 0.5954 MB / 445.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.2282, allocations: 135 kB / 445.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.2283, allocations: 64.12 kB / 446 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.2298, allocations: 0.847 MB / 446.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.2298, allocations: 0 / 446.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.2299, allocations: 24 kB / 446.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2299, allocations: 12 kB / 446.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.2314, allocations: 0.6024 MB / 447.5 MB, free: 7.711 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.003349/0.2348, allocations: 2.059 MB / 449.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.2362, allocations: 0.8118 MB / 450.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008418/0.2371, allocations: 355.5 kB / 450.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.264e-05/0.2371, allocations: 16.62 kB / 450.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.2372, allocations: 55.22 kB / 450.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/0.2372, allocations: 0 / 450.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005367/0.2425, allocations: 1.793 MB / 452.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004195/0.243, allocations: 0.8234 MB / 453.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.2437, allocations: 0.6293 MB / 454 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/0.2438, allocations: 45.7 kB / 454 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.2441, allocations: 337.4 kB / 454.4 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.2443, allocations: 269.7 kB / 454.6 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.2446, allocations: 142.6 kB / 454.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.2448, allocations: 394.7 kB / 455.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/0.2455, allocations: 269.8 kB / 455.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009859/0.2465, allocations: 0.5512 MB / 456 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.248, allocations: 0.6817 MB / 456.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.248, allocations: 3.938 kB / 456.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002817/0.2508, allocations: 1.087 MB / 457.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/0.2509, allocations: 93.09 kB / 457.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2509, allocations: 0 / 457.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/0.2516, allocations: 231.3 kB / 458.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.2522, allocations: 143.8 kB / 458.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008582/0.2608, allocations: 6.932 MB / 465.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008091/0.2616, allocations: 107.5 kB / 465.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.2617, allocations: 27.92 kB / 465.3 MB, free: 4.656 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.0003315/0.262, allocations: 221.9 kB / 465.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.2622, allocations: 87.48 kB / 465.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.2624, allocations: 87.34 kB / 465.7 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002646/0.265, allocations: 1.237 MB / 466.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.265, allocations: 0 / 466.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.2653, allocations: 240.4 kB / 467.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.2655, allocations: 16 kB / 467.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.2661, allocations: 55.88 kB / 467.2 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.2663, allocations: 56.58 kB / 467.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003213/0.2695, allocations: 1.03 MB / 468.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00246/0.2719, allocations: 1.248 MB / 469.5 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006896/0.2726, allocations: 289 kB / 469.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005582/0.2732, allocations: 459.1 kB / 470.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of Backend: time 3.5e-07/0.2732, allocations: 0 / 470.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.2753, allocations: 1.175 MB / 471.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of SimCode: time 0.00292/0.2782, allocations: 2.19 MB / 473.6 MB, free: 11.97 MB / 382.1 MB Notification: Performance of Templates: time 0.02857/0.3068, allocations: 18.29 MB / 491.9 MB, free: 9.926 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.754362458828837] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 0.31461230712011456 0.328058542 0.100937842 Calling exit ...