Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 103 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 198.5 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009921/0.0009921, allocations: 43.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2128, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005104/0.2179, allocations: 5.031 MB / 406.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.22, allocations: 1.293 MB / 407.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.2202, allocations: 11.94 kB / 407.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.2206, allocations: 170.5 kB / 407.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.2212, allocations: 337.2 kB / 408.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.2215, allocations: 223.6 kB / 408.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009608/0.2225, allocations: 1.195 MB / 409.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.2229, allocations: 303.3 kB / 410 MB, free: 316 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.2233, allocations: 458.4 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.2238, allocations: 0.5057 MB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.2239, allocations: 107.9 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.2241, allocations: 104 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.2243, allocations: 231.2 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004401/0.2247, allocations: 0.525 MB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009211/0.2257, allocations: 1.191 MB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2257, allocations: 0 / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2257, allocations: 0 / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.2257, allocations: 0 / 413.1 MB, free: 13.2 MB / 334.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.002219/0.2279, allocations: 1.337 MB / 414.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.228, allocations: 11.89 kB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.2281, allocations: 115.7 kB / 414.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008827/0.229, allocations: 0.591 MB / 415.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.2292, allocations: 139 kB / 415.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.48e-05/0.2293, allocations: 68.03 kB / 415.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2307, allocations: 0.8509 MB / 416.2 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2307, allocations: 4 kB / 416.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.2308, allocations: 31.98 kB / 416.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2308, allocations: 12 kB / 416.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.2322, allocations: 0.5985 MB / 416.8 MB, free: 9.211 MB / 334.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.002995/0.2352, allocations: 2.046 MB / 418.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.2365, allocations: 0.8469 MB / 419.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/0.2373, allocations: 398.6 kB / 420.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.2374, allocations: 20.61 kB / 420.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2374, allocations: 55.16 kB / 420.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.014e-06/0.2374, allocations: 0 / 420.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004906/0.2423, allocations: 1.789 MB / 422 MB, free: 3.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002778/0.2426, allocations: 0.8273 MB / 422.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006666/0.2433, allocations: 0.6332 MB / 423.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.2434, allocations: 41.7 kB / 423.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.2436, allocations: 337 kB / 423.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.2438, allocations: 252.2 kB / 424 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.244, allocations: 146.6 kB / 424.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2442, allocations: 390.8 kB / 424.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/0.2448, allocations: 269.8 kB / 424.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008457/0.2457, allocations: 0.5507 MB / 425.4 MB, free: 48 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.247, allocations: 0.6856 MB / 426.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.247, allocations: 3.938 kB / 426.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002546/0.2496, allocations: 1.094 MB / 427.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/0.2496, allocations: 85.11 kB / 427.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2496, allocations: 3.984 kB / 427.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/0.2503, allocations: 235.2 kB / 427.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.2509, allocations: 139.8 kB / 427.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007246/0.2582, allocations: 6.928 MB / 434.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.2589, allocations: 99.36 kB / 434.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.259, allocations: 27.92 kB / 434.7 MB, free: 6.102 MB / 350.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.0002807/0.2593, allocations: 221.7 kB / 434.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.2594, allocations: 86.97 kB / 435 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.2596, allocations: 91.34 kB / 435 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002398/0.262, allocations: 1.237 MB / 436.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.262, allocations: 0 / 436.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.2623, allocations: 235.9 kB / 436.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.2624, allocations: 20 kB / 436.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/0.2631, allocations: 51.89 kB / 436.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.2632, allocations: 56.56 kB / 436.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002976/0.2662, allocations: 1.03 MB / 437.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002205/0.2684, allocations: 1.244 MB / 438.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006416/0.2691, allocations: 317 kB / 439.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004692/0.2696, allocations: 455.1 kB / 439.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.2696, allocations: 4 kB / 439.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.2714, allocations: 1.196 MB / 440.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 0.002415/0.2738, allocations: 2.149 MB / 443 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Templates: time 0.02364/0.2975, allocations: 17.74 MB / 460.8 MB, free: 11.91 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)