Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001238/0.001238, allocations: 170.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.301/1.301, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001794/0.001794, allocations: 106.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1785/0.1785, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.26e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09055, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.924/5.015, allocations: 2.502 GB / 2.898 GB, free: 1.148 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/5.015, allocations: 79.95 kB / 2.898 GB, free: 1.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.485/6.5, allocations: 425.4 MB / 3.314 GB, free: 53.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.293e-06/6.5, allocations: 0 / 3.314 GB, free: 53.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.362e-05/6.5, allocations: 27.05 kB / 3.314 GB, free: 53.32 MB / 442.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.005359/6.506, allocations: 1.688 MB / 3.315 GB, free: 52.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/6.506, allocations: 13 kB / 3.315 GB, free: 52.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/6.508, allocations: 311.3 kB / 3.316 GB, free: 52.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/6.509, allocations: 0.5819 MB / 3.316 GB, free: 52.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/6.509, allocations: 50.72 kB / 3.316 GB, free: 52.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/6.509, allocations: 56.27 kB / 3.316 GB, free: 52.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/6.511, allocations: 0.9668 MB / 3.317 GB, free: 52.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/6.511, allocations: 2.406 kB / 3.317 GB, free: 52.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/6.511, allocations: 32.52 kB / 3.317 GB, free: 52.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/6.511, allocations: 21.62 kB / 3.317 GB, free: 52.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/6.513, allocations: 0.8001 MB / 3.318 GB, free: 52.02 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004097/6.517, allocations: 4.713 MB / 3.323 GB, free: 48.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/6.518, allocations: 0.6286 MB / 3.323 GB, free: 48.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/6.519, allocations: 210.7 kB / 3.323 GB, free: 48.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03565/6.554, allocations: 21.4 MB / 3.344 GB, free: 35.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/6.554, allocations: 34.39 kB / 3.344 GB, free: 35.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/6.554, allocations: 0 / 3.344 GB, free: 35.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.023/6.577, allocations: 3.764 MB / 3.348 GB, free: 34.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/6.577, allocations: 111.1 kB / 3.348 GB, free: 34.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/6.578, allocations: 427.8 kB / 3.349 GB, free: 34.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/6.578, allocations: 38.98 kB / 3.349 GB, free: 34.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/6.578, allocations: 350 kB / 3.349 GB, free: 34.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/6.578, allocations: 203.8 kB / 3.349 GB, free: 33.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/6.578, allocations: 13.91 kB / 3.349 GB, free: 33.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/6.578, allocations: 375.5 kB / 3.349 GB, free: 33.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/6.579, allocations: 272.1 kB / 3.35 GB, free: 33.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/6.579, allocations: 484.9 kB / 3.35 GB, free: 33.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/6.58, allocations: 332.6 kB / 3.351 GB, free: 33.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/6.58, allocations: 0 / 3.351 GB, free: 33.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001655/6.582, allocations: 1.017 MB / 3.352 GB, free: 33.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005184/6.582, allocations: 2.441 MB / 3.354 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/6.582, allocations: 3.906 kB / 3.354 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003451/6.586, allocations: 0.821 MB / 3.355 GB, free: 30.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/6.586, allocations: 159.9 kB / 3.355 GB, free: 30.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/6.588, allocations: 1.609 MB / 3.356 GB, free: 29.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/6.589, allocations: 105.4 kB / 3.357 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/6.589, allocations: 48.97 kB / 3.357 GB, free: 29.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/6.589, allocations: 11.78 kB / 3.357 GB, free: 29.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001665/6.59, allocations: 0.9463 MB / 3.358 GB, free: 29.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/6.59, allocations: 7.5 kB / 3.358 GB, free: 29.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/6.592, allocations: 0.5493 MB / 3.358 GB, free: 29.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/6.593, allocations: 164.2 kB / 3.358 GB, free: 29.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/6.594, allocations: 1.563 MB / 3.36 GB, free: 27.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/6.595, allocations: 99.36 kB / 3.36 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/6.595, allocations: 44.72 kB / 3.36 GB, free: 27.77 MB / 442.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 () * 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.0002004/6.595, allocations: 156 kB / 3.36 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/6.595, allocations: 62.28 kB / 3.36 GB, free: 27.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/6.6, allocations: 3.922 MB / 3.364 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/6.6, allocations: 43.42 kB / 3.364 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/6.6, allocations: 0 / 3.364 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/6.6, allocations: 9.516 kB / 3.364 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/6.604, allocations: 4.976 MB / 3.369 GB, free: 23.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/6.605, allocations: 0 / 3.369 GB, free: 23.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/6.605, allocations: 110.4 kB / 3.369 GB, free: 23.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004006/6.609, allocations: 1.778 MB / 3.371 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/6.609, allocations: 19.23 kB / 3.371 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/6.612, allocations: 2.366 MB / 3.373 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/6.612, allocations: 2.938 kB / 3.373 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/6.615, allocations: 2.461 MB / 3.375 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/6.617, allocations: 348.3 kB / 3.376 GB, free: 19.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/6.617, allocations: 11.25 kB / 3.376 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/6.618, allocations: 100 kB / 3.376 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/6.618, allocations: 71.66 kB / 3.376 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/6.618, allocations: 27.2 kB / 3.376 GB, free: 19.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004956/6.618, allocations: 424.9 kB / 3.376 GB, free: 19.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/6.619, allocations: 0 / 3.376 GB, free: 19.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00565/6.624, allocations: 1.547 MB / 3.378 GB, free: 19.17 MB / 442.7 MB 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 () * 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.007261/6.631, allocations: 1.819 MB / 3.38 GB, free: 18.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002972/6.634, allocations: 1.74 MB / 3.381 GB, free: 18.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/6.634, allocations: 0 / 3.381 GB, free: 18.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/6.636, allocations: 1.024 MB / 3.382 GB, free: 17.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/6.637, allocations: 290.2 kB / 3.383 GB, free: 17.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3765/7.014, allocations: 76.04 MB / 3.457 GB, free: 60.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/7.014, allocations: 1.177 MB / 3.458 GB, free: 60.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001186/7.015, allocations: 0.6805 MB / 3.459 GB, free: 60.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/7.016, allocations: 59.42 kB / 3.459 GB, free: 60.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.232e-06/7.016, allocations: 2.953 kB / 3.459 GB, free: 60.15 MB / 458.7 MB Notification: Performance of Templates: time 0.05995/7.075, allocations: 52.36 MB / 3.51 GB, free: 58.28 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1)