Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001306/0.001306, allocations: 181.5 kB / 12.74 MB, free: 2.582 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.444/1.444, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001437/0.001437, allocations: 113.9 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.18/0.18, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.063e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07758/0.07762, allocations: 54.87 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.48/5.557, allocations: 2.614 GB / 3.058 GB, free: 119.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/5.558, allocations: 87.23 kB / 3.059 GB, free: 119 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.703/8.261, allocations: 0.7575 GB / 3.816 GB, free: 34.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.366e-06/8.261, allocations: 0 / 3.816 GB, free: 34.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00027/8.261, allocations: 33.91 kB / 3.816 GB, free: 34.62 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01262/8.274, allocations: 2.713 MB / 3.819 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/8.274, allocations: 7.844 kB / 3.819 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005513/8.28, allocations: 0.6468 MB / 3.819 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/8.282, allocations: 1.002 MB / 3.82 GB, free: 32.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/8.283, allocations: 96.69 kB / 3.82 GB, free: 32.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004226/8.283, allocations: 110.8 kB / 3.821 GB, free: 32.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/8.288, allocations: 1.922 MB / 3.822 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/8.288, allocations: 7.125 kB / 3.822 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/8.288, allocations: 52.56 kB / 3.822 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/8.288, allocations: 45.69 kB / 3.823 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003924/8.292, allocations: 1.624 MB / 3.824 GB, free: 32.5 MB / 0.4948 GB 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.01064/8.303, allocations: 9.31 MB / 3.833 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/8.307, allocations: 1.404 MB / 3.835 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/8.307, allocations: 457.1 kB / 3.835 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03854/8.346, allocations: 21.62 MB / 3.856 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/8.346, allocations: 47.62 kB / 3.856 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=94): time 3.857e-06/8.346, allocations: 0 / 3.856 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.04058/8.387, allocations: 8.023 MB / 3.864 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/8.387, allocations: 170.9 kB / 3.864 GB, free: 27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/8.388, allocations: 0.7191 MB / 3.865 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001994/8.388, allocations: 53.92 kB / 3.865 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/8.389, allocations: 0.6185 MB / 3.866 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/8.389, allocations: 455 kB / 3.866 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/8.389, allocations: 31.44 kB / 3.866 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001613/8.389, allocations: 363.7 kB / 3.866 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009498/8.39, allocations: 0.5648 MB / 3.867 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/8.392, allocations: 0.9751 MB / 3.868 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/8.393, allocations: 0.6888 MB / 3.868 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/8.393, allocations: 3.75 kB / 3.868 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003837/8.397, allocations: 2.045 MB / 3.87 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002071/8.399, allocations: 4.614 MB / 3.875 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/8.399, allocations: 12.78 kB / 3.875 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005576/8.404, allocations: 1.31 MB / 3.876 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/8.406, allocations: 441.2 kB / 3.877 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/8.41, allocations: 3.104 MB / 3.88 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/8.412, allocations: 225.5 kB / 3.88 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/8.413, allocations: 99.78 kB / 3.88 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/8.413, allocations: 3.75 kB / 3.88 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003474/8.416, allocations: 1.77 MB / 3.882 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/8.416, allocations: 14.66 kB / 3.882 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/8.418, allocations: 0.5358 MB / 3.882 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/8.42, allocations: 0.5711 MB / 3.883 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/8.422, allocations: 1.662 MB / 3.885 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/8.425, allocations: 237.4 kB / 3.885 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/8.425, allocations: 94.36 kB / 3.885 GB, free: 16.85 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005589/8.425, allocations: 211.1 kB / 3.885 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/8.426, allocations: 127.5 kB / 3.885 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009264/8.435, allocations: 7.197 MB / 3.892 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.429e-05/8.435, allocations: 86.33 kB / 3.892 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/8.435, allocations: 0 / 3.892 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/8.435, allocations: 7.5 kB / 3.892 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/8.447, allocations: 9.462 MB / 3.902 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/8.447, allocations: 0 / 3.902 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/8.448, allocations: 332.8 kB / 3.902 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006022/8.454, allocations: 2.719 MB / 3.904 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/8.455, allocations: 47.16 kB / 3.905 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/8.459, allocations: 4.386 MB / 3.909 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/8.459, allocations: 7.781 kB / 3.909 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/8.465, allocations: 4.59 MB / 3.913 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/8.466, allocations: 0.5328 MB / 3.914 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/8.467, allocations: 35.95 kB / 3.914 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/8.468, allocations: 229.8 kB / 3.914 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003059/8.469, allocations: 136 kB / 3.914 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/8.469, allocations: 61.19 kB / 3.914 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001145/8.47, allocations: 0.6307 MB / 3.915 GB, free: 276 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/8.47, allocations: 4 kB / 3.915 GB, free: 272 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009894/8.48, allocations: 2.079 MB / 3.917 GB, free: 14.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01236/8.492, allocations: 2.287 MB / 3.919 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008317/8.501, allocations: 3.505 MB / 3.923 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/8.501, allocations: 0 / 3.923 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003741/8.505, allocations: 2.034 MB / 3.925 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/8.508, allocations: 0.5621 MB / 3.925 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5237/9.032, allocations: 79.44 MB / 4.003 GB, free: 58.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/9.033, allocations: 1.645 MB / 4.004 GB, free: 57.83 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00334/9.036, allocations: 1.474 MB / 4.006 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/9.037, allocations: 119.8 kB / 4.006 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of SimCode: time 2.554e-06/9.037, allocations: 1.969 kB / 4.006 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.1112/9.148, allocations: 77.25 MB / 4.081 GB, free: 41.34 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1)