Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.88 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2115, allocations: 50.56 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005539/0.2171, allocations: 5.035 MB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2192, allocations: 1.332 MB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.2195, allocations: 8 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.2199, allocations: 166.5 kB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.2205, allocations: 325.2 kB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.2209, allocations: 227.6 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.2219, allocations: 1.172 MB / 418.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.2224, allocations: 317.8 kB / 418.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.2228, allocations: 462.3 kB / 419 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.2233, allocations: 0.5019 MB / 419.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.2234, allocations: 107.9 kB / 419.6 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.2236, allocations: 108 kB / 419.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.2237, allocations: 223.2 kB / 419.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.2242, allocations: 0.5211 MB / 420.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009204/0.2251, allocations: 1.193 MB / 421.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2251, allocations: 0 / 421.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2251, allocations: 0 / 421.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.2251, allocations: 0 / 421.6 MB, free: 5.863 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.002278/0.2274, allocations: 1.345 MB / 422.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2275, allocations: 8.031 kB / 422.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.2276, allocations: 111.7 kB / 423.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/0.2285, allocations: 0.591 MB / 423.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.2287, allocations: 139 kB / 423.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.2288, allocations: 64.11 kB / 423.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.2301, allocations: 0.8431 MB / 424.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.2301, allocations: 3.984 kB / 424.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.2302, allocations: 28 kB / 424.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2302, allocations: 12 kB / 424.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.2316, allocations: 0.5985 MB / 425.3 MB, free: 1.891 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.002989/0.2346, allocations: 2.057 MB / 427.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.2359, allocations: 0.8531 MB / 428.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.2367, allocations: 391.5 kB / 428.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.2367, allocations: 20.5 kB / 428.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2368, allocations: 51.22 kB / 428.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.983e-06/0.2368, allocations: 4 kB / 428.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00493/0.2417, allocations: 1.789 MB / 430.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003083/0.242, allocations: 0.8234 MB / 431.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.2427, allocations: 0.6293 MB / 431.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.2428, allocations: 45.7 kB / 432 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.243, allocations: 333 kB / 432.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.2432, allocations: 264.2 kB / 432.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.2434, allocations: 142.7 kB / 432.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2436, allocations: 386.7 kB / 433.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.2443, allocations: 273.8 kB / 433.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008503/0.2451, allocations: 0.5508 MB / 433.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.2464, allocations: 0.6778 MB / 434.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2464, allocations: 3.938 kB / 434.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002576/0.249, allocations: 1.098 MB / 435.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.2491, allocations: 89.09 kB / 435.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2491, allocations: 0 / 435.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/0.2498, allocations: 235.2 kB / 436 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.2504, allocations: 135.8 kB / 436.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007412/0.2578, allocations: 6.936 MB / 443.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.2586, allocations: 103.4 kB / 443.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.2586, allocations: 31.92 kB / 443.2 MB, free: 14.77 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.0002816/0.2589, allocations: 217.8 kB / 443.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.2591, allocations: 83.06 kB / 443.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.2592, allocations: 95.34 kB / 443.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002421/0.2617, allocations: 1.237 MB / 444.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2617, allocations: 4 kB / 444.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.262, allocations: 235.9 kB / 445.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2621, allocations: 16 kB / 445.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.2628, allocations: 63.81 kB / 445.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.2629, allocations: 56.58 kB / 445.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00299/0.2659, allocations: 1.022 MB / 446.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002186/0.2681, allocations: 1.247 MB / 447.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006302/0.2687, allocations: 317 kB / 447.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004866/0.2692, allocations: 455 kB / 448.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of Backend: time 3.11e-07/0.2692, allocations: 0 / 448.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.2711, allocations: 1.203 MB / 449.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of SimCode: time 0.002516/0.2736, allocations: 2.157 MB / 451.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of Templates: time 0.02592/0.2996, allocations: 17.74 MB / 469.3 MB, free: 4.559 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)