Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001058/0.001058, allocations: 164.5 kB / 7.636 MB, free: 1.418 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.369/1.369, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001602/0.001601, allocations: 103.5 kB / 218 MB, free: 8.41 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.1883/0.1883, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.337e-05, allocations: 2.625 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 48.73 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.515/6.625, allocations: 2.501 GB / 2.891 GB, free: 72.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/6.626, allocations: 88.78 kB / 2.891 GB, free: 72.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555/8.181, allocations: 421.5 MB / 3.302 GB, free: 8.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/8.181, allocations: 0 / 3.302 GB, free: 8.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.999e-05/8.181, allocations: 19.83 kB / 3.302 GB, free: 8.535 MB / 426.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.009811/8.191, allocations: 1.71 MB / 3.304 GB, free: 6.781 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/8.191, allocations: 8.031 kB / 3.304 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/8.194, allocations: 318.7 kB / 3.304 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/8.195, allocations: 0.5816 MB / 3.305 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/8.195, allocations: 24 kB / 3.305 GB, free: 5.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/8.195, allocations: 32 kB / 3.305 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001056/8.197, allocations: 0.5376 MB / 3.305 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/8.198, allocations: 0.6594 MB / 3.306 GB, free: 4.531 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/8.198, allocations: 3.938 kB / 3.306 GB, free: 4.527 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/8.198, allocations: 4 kB / 3.306 GB, free: 4.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/8.198, allocations: 21.31 kB / 3.306 GB, free: 4.504 MB / 426.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.5277/8.725, allocations: 68.46 MB / 3.373 GB, free: 25.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/8.726, allocations: 346.2 kB / 3.373 GB, free: 25.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/8.726, allocations: 166.1 kB / 3.373 GB, free: 25.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03206/8.759, allocations: 17.01 MB / 3.39 GB, free: 29.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.889e-05/8.759, allocations: 41.09 kB / 3.39 GB, free: 29.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.927e-06/8.759, allocations: 4 kB / 3.39 GB, free: 29.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=54): time 0.02433/8.783, allocations: 3.262 MB / 3.393 GB, free: 29.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/8.783, allocations: 110.7 kB / 3.393 GB, free: 29.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009888/8.784, allocations: 419 kB / 3.394 GB, free: 29.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/8.784, allocations: 29.7 kB / 3.394 GB, free: 29.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/8.785, allocations: 374.6 kB / 3.394 GB, free: 28.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/8.785, allocations: 181.7 kB / 3.394 GB, free: 28.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/8.785, allocations: 0 / 3.394 GB, free: 28.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/8.785, allocations: 371.3 kB / 3.395 GB, free: 28.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/8.786, allocations: 262.2 kB / 3.395 GB, free: 28.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/8.786, allocations: 481.4 kB / 3.395 GB, free: 28.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/8.788, allocations: 433.6 kB / 3.396 GB, free: 28.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/8.788, allocations: 3.781 kB / 3.396 GB, free: 28.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002711/8.791, allocations: 1.081 MB / 3.397 GB, free: 28.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001207/8.792, allocations: 2.621 MB / 3.399 GB, free: 25.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/8.792, allocations: 6.906 kB / 3.399 GB, free: 25.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/8.794, allocations: 0.5523 MB / 3.4 GB, free: 25.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/8.795, allocations: 177.1 kB / 3.4 GB, free: 25.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/8.798, allocations: 1.771 MB / 3.402 GB, free: 24.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/8.799, allocations: 129.7 kB / 3.402 GB, free: 24.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/8.799, allocations: 48.11 kB / 3.402 GB, free: 24.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/8.799, allocations: 3.281 kB / 3.402 GB, free: 24.34 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002276/8.802, allocations: 0.8162 MB / 3.403 GB, free: 24.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/8.802, allocations: 7.125 kB / 3.403 GB, free: 24.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/8.803, allocations: 367.7 kB / 3.403 GB, free: 24.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/8.804, allocations: 180.9 kB / 3.403 GB, free: 24.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/8.805, allocations: 1.477 MB / 3.405 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/8.806, allocations: 107.3 kB / 3.405 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.494e-05/8.807, allocations: 39.92 kB / 3.405 GB, free: 23.21 MB / 458.7 MB 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: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (68): * Single equations (assignments): 66 * 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.0003947/8.807, allocations: 140.1 kB / 3.405 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/8.807, allocations: 69.11 kB / 3.405 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/8.812, allocations: 2.532 MB / 3.408 GB, free: 22.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/8.812, allocations: 23.06 kB / 3.408 GB, free: 22.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/8.812, allocations: 0 / 3.408 GB, free: 22.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/8.812, allocations: 3.656 kB / 3.408 GB, free: 22.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/8.817, allocations: 3.286 MB / 3.411 GB, free: 22.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/8.817, allocations: 3.625 kB / 3.411 GB, free: 22.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/8.817, allocations: 91.48 kB / 3.411 GB, free: 22.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/8.82, allocations: 1.466 MB / 3.412 GB, free: 22.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/8.82, allocations: 14.44 kB / 3.412 GB, free: 22.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/8.823, allocations: 2.592 MB / 3.415 GB, free: 21.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/8.823, allocations: 0.5625 kB / 3.415 GB, free: 21.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/8.826, allocations: 1.825 MB / 3.417 GB, free: 21.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006251/8.826, allocations: 281.9 kB / 3.417 GB, free: 20.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/8.827, allocations: 1.266 kB / 3.417 GB, free: 20.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/8.828, allocations: 103.9 kB / 3.417 GB, free: 20.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/8.828, allocations: 48.28 kB / 3.417 GB, free: 20.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/8.828, allocations: 28.61 kB / 3.417 GB, free: 20.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006484/8.828, allocations: 430.4 kB / 3.418 GB, free: 20.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.31e-07/8.828, allocations: 3.906 kB / 3.418 GB, free: 20.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007906/8.836, allocations: 1.489 MB / 3.419 GB, free: 20.78 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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01375/8.85, allocations: 1.904 MB / 3.421 GB, free: 20.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003721/8.854, allocations: 1.302 MB / 3.422 GB, free: 20.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/8.854, allocations: 3.969 kB / 3.422 GB, free: 20.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/8.855, allocations: 0.6206 MB / 3.423 GB, free: 20.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/8.857, allocations: 246 kB / 3.423 GB, free: 20.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/8.86, allocations: 1.348 MB / 3.424 GB, free: 20.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000912/8.861, allocations: 1.063 MB / 3.425 GB, free: 19.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001698/8.863, allocations: 0.784 MB / 3.426 GB, free: 19.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/8.863, allocations: 51.48 kB / 3.426 GB, free: 19.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/8.863, allocations: 0 / 3.426 GB, free: 19.38 MB / 458.7 MB Notification: Performance of Templates: time 0.06633/8.929, allocations: 43.41 MB / 3.469 GB, free: 9.477 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1)