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.00166/0.001661, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.318/1.318, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.001673/0.001673, allocations: 111.3 kB / 247.4 MB, free: 6.219 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.2122/0.2122, allocations: 39.94 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.759e-05, allocations: 4 kB / 393.3 MB, free: 75.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 54.87 MB / 448.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.704/5.813, allocations: 2.613 GB / 3.051 GB, free: 134.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/5.813, allocations: 87.62 kB / 3.051 GB, free: 134.4 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.721/8.534, allocations: 0.751 GB / 3.802 GB, free: 40.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.043e-06/8.534, allocations: 1.375 kB / 3.802 GB, free: 40.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001713/8.534, allocations: 44.91 kB / 3.802 GB, free: 40.55 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.01172/8.546, allocations: 2.712 MB / 3.805 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.752e-05/8.546, allocations: 8.719 kB / 3.805 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/8.552, allocations: 0.6439 MB / 3.805 GB, free: 39.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/8.555, allocations: 1 MB / 3.806 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/8.555, allocations: 50.47 kB / 3.806 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003923/8.556, allocations: 72.02 kB / 3.806 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002444/8.558, allocations: 1.074 MB / 3.807 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/8.561, allocations: 1.301 MB / 3.809 GB, free: 38.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/8.561, allocations: 2.344 kB / 3.809 GB, free: 38.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/8.561, allocations: 6.062 kB / 3.809 GB, free: 38.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.865e-05/8.561, allocations: 53.97 kB / 3.809 GB, free: 38.44 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.1555/8.716, allocations: 73.1 MB / 3.88 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/8.718, allocations: 0.8048 MB / 3.881 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006829/8.719, allocations: 405.1 kB / 3.881 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04016/8.759, allocations: 20.22 MB / 3.901 GB, free: 17.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.222e-05/8.759, allocations: 44.69 kB / 3.901 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=86): time 3.777e-06/8.759, allocations: 4 kB / 3.901 GB, free: 17.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120): time 0.03383/8.793, allocations: 5.073 MB / 3.906 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/8.794, allocations: 171.2 kB / 3.906 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/8.796, allocations: 0.7029 MB / 3.907 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002864/8.796, allocations: 25.7 kB / 3.907 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005329/8.797, allocations: 0.631 MB / 3.908 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/8.797, allocations: 394.1 kB / 3.908 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/8.797, allocations: 0 / 3.908 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001861/8.797, allocations: 366.8 kB / 3.908 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000896/8.798, allocations: 0.5256 MB / 3.909 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/8.799, allocations: 0.9256 MB / 3.91 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003917/8.803, allocations: 0.9604 MB / 3.911 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/8.803, allocations: 6.578 kB / 3.911 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006612/8.81, allocations: 2.209 MB / 3.913 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002593/8.813, allocations: 4.618 MB / 3.917 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.694e-05/8.813, allocations: 12 kB / 3.917 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/8.815, allocations: 0.8304 MB / 3.918 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/8.817, allocations: 372.6 kB / 3.919 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3552/9.172, allocations: 3.393 MB / 3.922 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/9.175, allocations: 220.1 kB / 3.922 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/9.175, allocations: 89.59 kB / 3.922 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/9.175, allocations: 5.094 kB / 3.922 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004868/9.18, allocations: 1.461 MB / 3.924 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/9.18, allocations: 12.2 kB / 3.924 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-05/9.18, allocations: 20.44 kB / 3.924 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/9.183, allocations: 0.6223 MB / 3.924 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/9.183, allocations: 25.95 kB / 3.924 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/9.185, allocations: 202.2 kB / 3.924 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/9.185, allocations: 77.06 kB / 3.925 GB, free: 71.22 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump1.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.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 (142): * Single equations (assignments): 138 * 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.0005418/9.186, allocations: 152.2 kB / 3.925 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/9.186, allocations: 128.6 kB / 3.925 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009762/9.196, allocations: 5.922 MB / 3.931 GB, free: 70.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.02e-05/9.196, allocations: 65.33 kB / 3.931 GB, free: 70.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/9.196, allocations: 3.844 kB / 3.931 GB, free: 70.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/9.196, allocations: 6.328 kB / 3.931 GB, free: 70.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/9.206, allocations: 7.898 MB / 3.938 GB, free: 70.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/9.207, allocations: 3.953 kB / 3.938 GB, free: 70.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/9.207, allocations: 236 kB / 3.939 GB, free: 70.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/9.211, allocations: 2.269 MB / 3.941 GB, free: 70.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/9.211, allocations: 26.19 kB / 3.941 GB, free: 70.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/9.216, allocations: 4.871 MB / 3.946 GB, free: 67.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/9.216, allocations: 2.75 kB / 3.946 GB, free: 67.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006982/9.223, allocations: 4.12 MB / 3.95 GB, free: 67.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/9.224, allocations: 0.4925 MB / 3.95 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/9.224, allocations: 2.188 kB / 3.95 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/9.225, allocations: 202.7 kB / 3.95 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/9.226, allocations: 117.2 kB / 3.95 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.927e-05/9.226, allocations: 53.72 kB / 3.95 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009397/9.227, allocations: 0.6157 MB / 3.951 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/9.227, allocations: 0.9375 kB / 3.951 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00697/9.234, allocations: 1.834 MB / 3.953 GB, free: 67.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.007952/9.242, allocations: 2.369 MB / 3.955 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005657/9.247, allocations: 2.894 MB / 3.958 GB, free: 66.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/9.247, allocations: 2.719 kB / 3.958 GB, free: 66.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/9.25, allocations: 1.721 MB / 3.96 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/9.253, allocations: 0.5091 MB / 3.96 GB, free: 66.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/9.257, allocations: 3.319 MB / 3.963 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/9.258, allocations: 1.549 MB / 3.965 GB, free: 65.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002554/9.261, allocations: 1.562 MB / 3.966 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/9.261, allocations: 98.98 kB / 3.967 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/9.261, allocations: 0 / 3.967 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.07809/9.339, allocations: 60.95 MB / 4.026 GB, free: 62.31 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)