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.009228/0.009228, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.541/1.541, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001744/0.001744, allocations: 109.6 kB / 226.2 MB, free: 10.1 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.4104/0.4104, allocations: 38.05 MB / 303.7 MB, free: 42.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003976, allocations: 12 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 48.7 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.148/8.276, allocations: 2.502 GB / 2.904 GB, free: 31.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/8.277, allocations: 85.52 kB / 2.904 GB, free: 31.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.015/10.29, allocations: 426.6 MB / 3.321 GB, free: 44.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.053e-06/10.29, allocations: 3.688 kB / 3.321 GB, free: 44.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.754e-05/10.29, allocations: 18.52 kB / 3.321 GB, free: 44.05 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.008282/10.3, allocations: 1.776 MB / 3.322 GB, free: 43.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/10.3, allocations: 11.78 kB / 3.322 GB, free: 43.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/10.3, allocations: 318.6 kB / 3.323 GB, free: 43.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/10.3, allocations: 0.5741 MB / 3.323 GB, free: 42.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/10.3, allocations: 49.47 kB / 3.323 GB, free: 42.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.239e-05/10.3, allocations: 57.91 kB / 3.323 GB, free: 42.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/10.31, allocations: 0.9912 MB / 3.324 GB, free: 42.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/10.31, allocations: 6.016 kB / 3.324 GB, free: 42.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/10.31, allocations: 31.33 kB / 3.324 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/10.31, allocations: 24.47 kB / 3.324 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/10.31, allocations: 0.9022 MB / 3.325 GB, free: 42.72 MB / 442.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.005167/10.31, allocations: 4.709 MB / 3.33 GB, free: 39.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/10.32, allocations: 0.6784 MB / 3.331 GB, free: 39.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03618/10.35, allocations: 21.33 MB / 3.351 GB, free: 25.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/10.35, allocations: 38.28 kB / 3.351 GB, free: 25.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/10.35, allocations: 0 / 3.351 GB, free: 25.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.02468/10.38, allocations: 4.293 MB / 3.356 GB, free: 25.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/10.38, allocations: 114.1 kB / 3.356 GB, free: 25.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/10.38, allocations: 437.1 kB / 3.356 GB, free: 24.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/10.38, allocations: 36.92 kB / 3.356 GB, free: 24.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/10.38, allocations: 356.9 kB / 3.356 GB, free: 24.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/10.38, allocations: 201.7 kB / 3.357 GB, free: 24.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/10.38, allocations: 16.56 kB / 3.357 GB, free: 24.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/10.38, allocations: 374 kB / 3.357 GB, free: 24.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/10.38, allocations: 373.2 kB / 3.357 GB, free: 24.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009082/10.38, allocations: 0.5795 MB / 3.358 GB, free: 24.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/10.38, allocations: 430.8 kB / 3.358 GB, free: 24.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/10.38, allocations: 3.156 kB / 3.358 GB, free: 24.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002811/10.38, allocations: 1.24 MB / 3.36 GB, free: 23.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007256/10.38, allocations: 2.443 MB / 3.362 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/10.39, allocations: 8.656 kB / 3.362 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004295/10.39, allocations: 0.9143 MB / 3.363 GB, free: 21.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/10.39, allocations: 161.2 kB / 3.363 GB, free: 21.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/10.39, allocations: 1.689 MB / 3.365 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/10.39, allocations: 101.4 kB / 3.365 GB, free: 20.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/10.39, allocations: 50 kB / 3.365 GB, free: 20.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/10.39, allocations: 7.594 kB / 3.365 GB, free: 20.29 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0028/10.4, allocations: 1.171 MB / 3.366 GB, free: 20.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/10.4, allocations: 8.031 kB / 3.366 GB, free: 20.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/10.4, allocations: 0.6299 MB / 3.367 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/10.4, allocations: 174 kB / 3.367 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/10.4, allocations: 1.639 MB / 3.368 GB, free: 35.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/10.4, allocations: 93.86 kB / 3.368 GB, free: 35.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/10.4, allocations: 49.81 kB / 3.368 GB, free: 35.14 MB / 458.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.000653/10.4, allocations: 296.6 kB / 3.369 GB, free: 34.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/10.4, allocations: 66.36 kB / 3.369 GB, free: 34.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/10.41, allocations: 3.804 MB / 3.373 GB, free: 34.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/10.41, allocations: 53.08 kB / 3.373 GB, free: 34.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/10.41, allocations: 0 / 3.373 GB, free: 34.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/10.41, allocations: 3.797 kB / 3.373 GB, free: 34.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/10.42, allocations: 5.086 MB / 3.378 GB, free: 33.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/10.42, allocations: 0 / 3.378 GB, free: 33.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/10.42, allocations: 108.4 kB / 3.378 GB, free: 33.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004486/10.42, allocations: 1.652 MB / 3.379 GB, free: 33.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/10.42, allocations: 19.72 kB / 3.379 GB, free: 33.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/10.42, allocations: 2.371 MB / 3.382 GB, free: 31.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/10.42, allocations: 0 / 3.382 GB, free: 31.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/10.43, allocations: 2.606 MB / 3.384 GB, free: 30.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/10.43, allocations: 339.8 kB / 3.385 GB, free: 29.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/10.43, allocations: 10.97 kB / 3.385 GB, free: 29.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000935/10.43, allocations: 105.7 kB / 3.385 GB, free: 29.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/10.43, allocations: 60.42 kB / 3.385 GB, free: 29.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/10.43, allocations: 31 kB / 3.385 GB, free: 29.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007135/10.43, allocations: 435.5 kB / 3.385 GB, free: 29.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/10.43, allocations: 3.75 kB / 3.385 GB, free: 29.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009976/10.44, allocations: 1.541 MB / 3.387 GB, free: 29.39 MB / 458.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 () * 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.01458/10.46, allocations: 1.833 MB / 3.388 GB, free: 28.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00524/10.46, allocations: 2.014 MB / 3.39 GB, free: 28.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/10.46, allocations: 0 / 3.39 GB, free: 28.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/10.46, allocations: 1.119 MB / 3.391 GB, free: 27.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/10.47, allocations: 290.4 kB / 3.392 GB, free: 27.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4287/10.89, allocations: 77.18 MB / 3.467 GB, free: 53.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/10.89, allocations: 1.179 MB / 3.468 GB, free: 53.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001285/10.9, allocations: 0.6511 MB / 3.469 GB, free: 53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/10.9, allocations: 62.67 kB / 3.469 GB, free: 53 MB / 458.7 MB Notification: Performance of SimCode: time 2.104e-06/10.9, allocations: 0 / 3.469 GB, free: 53 MB / 458.7 MB Notification: Performance of Templates: time 0.07452/10.97, allocations: 49.93 MB / 3.518 GB, free: 51.46 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)