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.00125/0.00125, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.88 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2196, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005605/0.2252, allocations: 5.043 MB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.2276, allocations: 1.328 MB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.2282, allocations: 15.94 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.2289, allocations: 162.6 kB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.2301, allocations: 337.2 kB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.2307, allocations: 227.7 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.2319, allocations: 1.183 MB / 418.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.2323, allocations: 325.8 kB / 418.5 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006046/0.2329, allocations: 450.5 kB / 419 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.2335, allocations: 0.5096 MB / 419.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.2336, allocations: 104 kB / 419.6 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.2338, allocations: 104 kB / 419.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.2339, allocations: 231.2 kB / 419.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.2344, allocations: 0.5133 MB / 420.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.2354, allocations: 1.196 MB / 421.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2354, allocations: 4 kB / 421.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.2354, allocations: 0 / 421.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.2355, allocations: 0 / 421.6 MB, free: 5.836 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.00227/0.2377, allocations: 1.337 MB / 423 MB, free: 4.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2378, allocations: 12.02 kB / 423 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.2379, allocations: 111.7 kB / 423.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.2388, allocations: 0.591 MB / 423.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.239, allocations: 142.9 kB / 423.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.381e-05/0.2391, allocations: 64.12 kB / 423.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.2406, allocations: 0.8431 MB / 424.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2406, allocations: 0 / 424.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.2407, allocations: 35.98 kB / 424.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2407, allocations: 12 kB / 424.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.2421, allocations: 0.5985 MB / 425.4 MB, free: 1.859 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.003223/0.2454, allocations: 2.053 MB / 427.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.2468, allocations: 0.8468 MB / 428.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/0.2476, allocations: 391.5 kB / 428.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.2477, allocations: 16.64 kB / 428.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2477, allocations: 47.22 kB / 428.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.2477, allocations: 3.938 kB / 428.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00506/0.2528, allocations: 1.8 MB / 430.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002968/0.2531, allocations: 0.8234 MB / 431.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.2538, allocations: 0.6254 MB / 432 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.2539, allocations: 45.7 kB / 432 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.2542, allocations: 341 kB / 432.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.2544, allocations: 252.2 kB / 432.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.2546, allocations: 142.7 kB / 432.7 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2548, allocations: 386.7 kB / 433.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006654/0.2554, allocations: 273.8 kB / 433.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009554/0.2564, allocations: 0.5507 MB / 433.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.2578, allocations: 0.6817 MB / 434.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2578, allocations: 11.88 kB / 434.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002588/0.2604, allocations: 1.09 MB / 435.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.2605, allocations: 89.09 kB / 435.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2605, allocations: 4 kB / 435.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.2611, allocations: 231.3 kB / 436 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.2618, allocations: 139.8 kB / 436.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007647/0.2695, allocations: 6.936 MB / 443.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.2702, allocations: 103.4 kB / 443.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.2703, allocations: 31.92 kB / 443.2 MB, free: 14.74 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.0002922/0.2706, allocations: 217.7 kB / 443.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2707, allocations: 83.06 kB / 443.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.2709, allocations: 87.34 kB / 443.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002481/0.2734, allocations: 1.245 MB / 444.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2734, allocations: 0 / 444.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.2737, allocations: 231.9 kB / 445.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.2738, allocations: 24 kB / 445.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006632/0.2745, allocations: 51.88 kB / 445.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2746, allocations: 56.58 kB / 445.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00304/0.2777, allocations: 1.019 MB / 446.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002265/0.28, allocations: 1.245 MB / 447.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006483/0.2806, allocations: 317 kB / 447.8 MB, free: 10 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004947/0.2811, allocations: 455.1 kB / 448.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of Backend: time 3.51e-07/0.2811, allocations: 0 / 448.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.2831, allocations: 1.212 MB / 449.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of SimCode: time 0.002532/0.2857, allocations: 2.165 MB / 451.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of Templates: time 0.02557/0.3112, allocations: 17.73 MB / 469.3 MB, free: 4.535 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)