Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.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.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00218/0.00218, allocations: 162.6 kB / 7.635 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.769/1.769, allocations: 170.6 MB / 178.7 MB, free: 7.039 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.001676/0.001676, allocations: 103 kB / 218 MB, free: 15.34 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.331/0.331, allocations: 37.97 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.445e-05, allocations: 4 kB / 350 MB, free: 32.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3325, allocations: 48.68 MB / 398.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.683/6.015, allocations: 2.484 GB / 2.873 GB, free: 123.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/6.015, allocations: 82.88 kB / 2.874 GB, free: 123.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.447/8.462, allocations: 0.7846 GB / 3.658 GB, free: 6.809 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/8.462, allocations: 0 / 3.658 GB, free: 6.809 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.825e-05/8.462, allocations: 43.88 kB / 3.658 GB, free: 6.766 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.009904/8.472, allocations: 2.503 MB / 3.661 GB, free: 4.223 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/8.472, allocations: 16.03 kB / 3.661 GB, free: 4.207 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/8.476, allocations: 454 kB / 3.661 GB, free: 3.762 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/8.478, allocations: 0.9996 MB / 3.662 GB, free: 2.738 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.485e-05/8.478, allocations: 48 kB / 3.662 GB, free: 2.691 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/8.479, allocations: 72 kB / 3.662 GB, free: 2.621 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002114/8.481, allocations: 1.141 MB / 3.663 GB, free: 1.477 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2824/8.763, allocations: 1.373 MB / 3.665 GB, free: 36.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/8.763, allocations: 5.312 kB / 3.665 GB, free: 36.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005169/8.764, allocations: 5.172 kB / 3.665 GB, free: 36.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-05/8.764, allocations: 55.77 kB / 3.665 GB, free: 36.66 MB / 458.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.2848/9.049, allocations: 132.9 MB / 3.795 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/9.05, allocations: 0.5641 MB / 3.795 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/9.05, allocations: 363.6 kB / 3.795 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006913/9.057, allocations: 4.038 MB / 3.799 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.535e-05/9.058, allocations: 44.34 kB / 3.799 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=81): time 2.886e-06/9.058, allocations: 0 / 3.799 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=123): time 0.01696/9.075, allocations: 5.028 MB / 3.804 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/9.075, allocations: 115 kB / 3.804 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/9.076, allocations: 0.6879 MB / 3.805 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/9.076, allocations: 30.2 kB / 3.805 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/9.076, allocations: 0.6739 MB / 3.806 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/9.077, allocations: 407.4 kB / 3.806 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/9.077, allocations: 1.219 kB / 3.806 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001628/9.077, allocations: 362.1 kB / 3.806 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007735/9.078, allocations: 0.5301 MB / 3.807 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/9.079, allocations: 0.9431 MB / 3.808 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/9.081, allocations: 0.7206 MB / 3.809 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/9.081, allocations: 3.531 kB / 3.809 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.008139/9.089, allocations: 2.509 MB / 3.811 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002751/9.092, allocations: 5.047 MB / 3.816 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/9.092, allocations: 11.44 kB / 3.816 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005781/9.098, allocations: 1.222 MB / 3.817 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009644/9.099, allocations: 256.1 kB / 3.817 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007346/9.106, allocations: 5.819 MB / 3.823 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/9.109, allocations: 177.3 kB / 3.823 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/9.109, allocations: 93.3 kB / 3.823 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/9.109, allocations: 7.594 kB / 3.823 GB, free: 16.28 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004963/9.114, allocations: 1.836 MB / 3.825 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/9.114, allocations: 15.22 kB / 3.825 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/9.118, allocations: 0.9159 MB / 3.826 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/9.119, allocations: 292.3 kB / 3.826 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00559/9.124, allocations: 5.329 MB / 3.832 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/9.127, allocations: 161.7 kB / 3.832 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004208/9.128, allocations: 84.02 kB / 3.832 GB, free: 11.42 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.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.pumpPolynomial.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpPolynomial.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.pumpQuadraticLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpQuadraticLinear.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.pumpLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.pumpLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 122 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 8,2 6,2 8,2 6,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.001003/9.129, allocations: 164.1 kB / 3.832 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006436/9.129, allocations: 126.5 kB / 3.832 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009155/9.138, allocations: 4.061 MB / 3.836 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.816e-05/9.138, allocations: 32.8 kB / 3.836 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/9.139, allocations: 0 / 3.836 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.223e-05/9.139, allocations: 6.75 kB / 3.836 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/9.153, allocations: 6.68 MB / 3.843 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/9.153, allocations: 0 / 3.843 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/9.154, allocations: 151.8 kB / 3.843 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006587/9.161, allocations: 2.1 MB / 3.845 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/9.161, allocations: 15.33 kB / 3.845 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3408/9.502, allocations: 8.52 MB / 3.853 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/9.502, allocations: 2.469 kB / 3.853 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006376/9.508, allocations: 3.725 MB / 3.857 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/9.51, allocations: 392.2 kB / 3.857 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/9.51, allocations: 3.266 kB / 3.857 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/9.511, allocations: 187.2 kB / 3.857 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002888/9.512, allocations: 123.1 kB / 3.857 GB, free: 95.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/9.512, allocations: 54.31 kB / 3.858 GB, free: 95.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009218/9.513, allocations: 0.5388 MB / 3.858 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/9.513, allocations: 0 / 3.858 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009573/9.522, allocations: 1.919 MB / 3.86 GB, free: 95.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 10,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/9.534, allocations: 2.459 MB / 3.862 GB, free: 95.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01023/9.544, allocations: 2.871 MB / 3.865 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/9.545, allocations: 0 / 3.865 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002979/9.548, allocations: 1.434 MB / 3.867 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/9.551, allocations: 470 kB / 3.867 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/9.556, allocations: 2.549 MB / 3.869 GB, free: 94.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/9.557, allocations: 1.392 MB / 3.871 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002946/9.56, allocations: 1.126 MB / 3.872 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/9.56, allocations: 83.83 kB / 3.872 GB, free: 93.49 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/9.56, allocations: 1.781 kB / 3.872 GB, free: 93.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.09294/9.653, allocations: 64.23 MB / 3.935 GB, free: 90.16 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1)