Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00873/0.00873, allocations: 175.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.916/1.916, allocations: 194.5 MB / 210.3 MB, free: 7.531 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001706/0.001706, allocations: 128.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2333/0.2333, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004193, allocations: 14.25 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1486, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.354/7.502, allocations: 2.613 GB / 3.063 GB, free: 132.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004449/7.503, allocations: 89.88 kB / 3.063 GB, free: 132.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669/9.172, allocations: 437.5 MB / 3.49 GB, free: 49.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/9.172, allocations: 0 / 3.49 GB, free: 49.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.196e-05/9.172, allocations: 18 kB / 3.49 GB, free: 49.22 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008368/9.18, allocations: 1.827 MB / 3.492 GB, free: 48.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/9.18, allocations: 12.19 kB / 3.492 GB, free: 48.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/9.183, allocations: 328.6 kB / 3.492 GB, free: 48.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/9.185, allocations: 0.5784 MB / 3.493 GB, free: 47.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/9.185, allocations: 52.75 kB / 3.493 GB, free: 47.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/9.185, allocations: 53.78 kB / 3.493 GB, free: 47.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/9.187, allocations: 0.9927 MB / 3.494 GB, free: 47.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/9.187, allocations: 0 / 3.494 GB, free: 47.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/9.187, allocations: 27.12 kB / 3.494 GB, free: 47.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/9.187, allocations: 21.59 kB / 3.494 GB, free: 47.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/9.19, allocations: 0.8997 MB / 3.495 GB, free: 46.94 MB / 490.7 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.00553/9.195, allocations: 4.715 MB / 3.499 GB, free: 42.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/9.197, allocations: 0.692 MB / 3.5 GB, free: 42.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03859/9.236, allocations: 21.37 MB / 3.521 GB, free: 28.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.184e-05/9.236, allocations: 38.38 kB / 3.521 GB, free: 28.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.466e-06/9.236, allocations: 0 / 3.521 GB, free: 28.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.0264/9.262, allocations: 4.321 MB / 3.525 GB, free: 25.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/9.263, allocations: 107.4 kB / 3.525 GB, free: 25.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/9.263, allocations: 438.5 kB / 3.526 GB, free: 25.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/9.263, allocations: 33.7 kB / 3.526 GB, free: 25.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/9.264, allocations: 346.4 kB / 3.526 GB, free: 25.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/9.264, allocations: 211.2 kB / 3.526 GB, free: 24.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/9.264, allocations: 16 kB / 3.526 GB, free: 24.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/9.264, allocations: 365.9 kB / 3.527 GB, free: 24.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007772/9.265, allocations: 373.6 kB / 3.527 GB, free: 24.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008906/9.266, allocations: 0.5742 MB / 3.528 GB, free: 23.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/9.267, allocations: 437.1 kB / 3.528 GB, free: 23.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/9.267, allocations: 0 / 3.528 GB, free: 23.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002604/9.269, allocations: 1.25 MB / 3.529 GB, free: 22.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006506/9.27, allocations: 2.442 MB / 3.532 GB, free: 19.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/9.27, allocations: 4 kB / 3.532 GB, free: 19.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004017/9.274, allocations: 0.9023 MB / 3.533 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/9.275, allocations: 166.3 kB / 3.533 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/9.277, allocations: 1.688 MB / 3.534 GB, free: 17.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/9.278, allocations: 109.4 kB / 3.534 GB, free: 16.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/9.278, allocations: 47.59 kB / 3.534 GB, free: 16.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/9.278, allocations: 4.781 kB / 3.534 GB, free: 16.92 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002541/9.28, allocations: 1.168 MB / 3.536 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/9.28, allocations: 8 kB / 3.536 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/9.283, allocations: 0.6378 MB / 3.536 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/9.283, allocations: 163.9 kB / 3.536 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/9.285, allocations: 1.639 MB / 3.538 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009447/9.286, allocations: 102.6 kB / 3.538 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/9.286, allocations: 43.45 kB / 3.538 GB, free: 13.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005752/9.287, allocations: 296.5 kB / 3.538 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/9.287, allocations: 67.2 kB / 3.538 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004641/9.292, allocations: 3.808 MB / 3.542 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/9.292, allocations: 46.66 kB / 3.542 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/9.292, allocations: 0 / 3.542 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/9.292, allocations: 3.328 kB / 3.542 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006036/9.298, allocations: 5.09 MB / 3.547 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/9.298, allocations: 0 / 3.547 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/9.298, allocations: 104.4 kB / 3.547 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00423/9.302, allocations: 1.664 MB / 3.549 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-05/9.303, allocations: 22.23 kB / 3.549 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/9.305, allocations: 2.375 MB / 3.551 GB, free: 1.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/9.305, allocations: 0 / 3.551 GB, free: 1.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/9.311, allocations: 2.73 MB / 3.554 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/9.312, allocations: 346.5 kB / 3.554 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/9.312, allocations: 12 kB / 3.554 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/9.312, allocations: 103 kB / 3.554 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/9.313, allocations: 63.33 kB / 3.554 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.376e-05/9.313, allocations: 27.89 kB / 3.554 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007838/9.314, allocations: 436.2 kB / 3.555 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/9.314, allocations: 0 / 3.555 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008963/9.323, allocations: 1.56 MB / 3.556 GB, free: 13.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01071/9.333, allocations: 1.84 MB / 3.558 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005103/9.338, allocations: 2.015 MB / 3.56 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/9.339, allocations: 0 / 3.56 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/9.34, allocations: 1.118 MB / 3.561 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/9.342, allocations: 294.4 kB / 3.562 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4833/9.826, allocations: 78.44 MB / 3.638 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009724/9.827, allocations: 1.178 MB / 3.639 GB, free: 60.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001551/9.828, allocations: 0.6568 MB / 3.64 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/9.828, allocations: 60.17 kB / 3.64 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of SimCode: time 2.384e-06/9.828, allocations: 2.953 kB / 3.64 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.06849/9.897, allocations: 50.13 MB / 3.689 GB, free: 56.67 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1)