Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001457, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3276/0.3276, allocations: 38.03 MB / 308.4 MB, free: 10.38 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000635/0.000635, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1187, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV): time 0.2381/0.3569, allocations: 35.04 MB / 469 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.3727, allocations: 13.96 MB / 482.9 MB, free: 27.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.3738, allocations: 21.56 kB / 483 MB, free: 27.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.3751, allocations: 382.2 kB / 483.3 MB, free: 27.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.3868, allocations: 3.861 MB / 487.2 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004955/0.3918, allocations: 1.854 MB / 489 MB, free: 24.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.3933, allocations: 0.9428 MB / 490 MB, free: 23.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/0.3939, allocations: 357.5 kB / 490.3 MB, free: 23.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.395, allocations: 0.6144 MB / 491 MB, free: 23.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004554/0.3996, allocations: 3.083 MB / 494 MB, free: 22.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.3997, allocations: 36.09 kB / 494.1 MB, free: 22.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/0.4149, allocations: 7.379 MB / 0.4897 GB, free: 21.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.4152, allocations: 144.5 kB / 0.4898 GB, free: 21.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.4157, allocations: 163.4 kB / 0.49 GB, free: 21.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.4259, allocations: 3.445 MB / 0.4934 GB, free: 20.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.426, allocations: 0 / 0.4934 GB, free: 20.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.426, allocations: 0 / 0.4934 GB, free: 20.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.426, allocations: 5.375 kB / 0.4934 GB, free: 20.36 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.006517/0.4325, allocations: 1.456 MB / 0.4948 GB, free: 19.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4326, allocations: 8.312 kB / 0.4948 GB, free: 19.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.4349, allocations: 303.9 kB / 0.4951 GB, free: 19.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009236/0.4358, allocations: 0.4924 MB / 0.4956 GB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.985e-05/0.4359, allocations: 46.42 kB / 0.4956 GB, free: 19.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/0.436, allocations: 58.88 kB / 0.4957 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.4386, allocations: 0.9555 MB / 0.4966 GB, free: 18.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.4386, allocations: 6.219 kB / 0.4966 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.242e-05/0.4387, allocations: 30.17 kB / 0.4966 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/0.4388, allocations: 24.44 kB / 0.4967 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.4412, allocations: 0.8672 MB / 0.4975 GB, free: 18.33 MB / 382.1 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.005068/0.4462, allocations: 4.685 MB / 0.5021 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.4488, allocations: 0.8316 MB / 0.5029 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04794/0.4967, allocations: 24.42 MB / 0.5267 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.4968, allocations: 38.56 kB / 0.5268 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.915e-06/0.4968, allocations: 0 / 0.5268 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.007095/0.5039, allocations: 1.803 MB / 0.5285 GB, free: 8.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.504, allocations: 106.8 kB / 0.5286 GB, free: 8.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000693/0.5047, allocations: 465.8 kB / 0.5291 GB, free: 8.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/0.5048, allocations: 33.7 kB / 0.5291 GB, free: 8.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.5051, allocations: 324 kB / 0.5294 GB, free: 7.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.5053, allocations: 142 kB / 0.5296 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.5053, allocations: 8 kB / 0.5296 GB, free: 7.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5055, allocations: 370.7 kB / 0.5299 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.5061, allocations: 253 kB / 0.5302 GB, free: 6.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/0.5069, allocations: 420.7 kB / 0.5306 GB, free: 6.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.5075, allocations: 285.2 kB / 0.5308 GB, free: 6.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5075, allocations: 0 / 0.5308 GB, free: 6.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002193/0.5097, allocations: 0.8799 MB / 0.5317 GB, free: 5.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007882/0.5105, allocations: 1.916 MB / 0.5336 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.5106, allocations: 7.938 kB / 0.5336 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.5119, allocations: 264.6 kB / 0.5338 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.5123, allocations: 127.8 kB / 0.5339 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.5134, allocations: 0.8138 MB / 0.5347 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/0.5142, allocations: 103.4 kB / 0.5348 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.5143, allocations: 31.98 kB / 0.5349 GB, free: 1.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.5143, allocations: 4 kB / 0.5349 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00187/0.5162, allocations: 0.7928 MB / 0.5356 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5162, allocations: 7.984 kB / 0.5357 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009194/0.5171, allocations: 208.7 kB / 0.5359 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.5175, allocations: 127.8 kB / 0.536 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.5188, allocations: 0.7981 MB / 0.5368 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.5195, allocations: 99.45 kB / 0.5369 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.5195, allocations: 27.98 kB / 0.5369 GB, free: 15.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004271/0.52, allocations: 274.6 kB / 0.5371 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.5201, allocations: 55.34 kB / 0.5372 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/0.5242, allocations: 3.021 MB / 0.5401 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/0.5243, allocations: 39.94 kB / 0.5402 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.5243, allocations: 4 kB / 0.5402 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.5243, allocations: 3.984 kB / 0.5402 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.526, allocations: 1.455 MB / 0.5416 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.526, allocations: 4 kB / 0.5416 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.5264, allocations: 83.94 kB / 0.5417 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.5277, allocations: 0.6779 MB / 0.5424 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.5277, allocations: 15.98 kB / 0.5424 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.5292, allocations: 1.256 MB / 0.5436 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5292, allocations: 3.938 kB / 0.5436 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/0.5321, allocations: 1.949 MB / 0.5455 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/0.5327, allocations: 322.8 kB / 0.5458 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.5328, allocations: 11.98 kB / 0.5458 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/0.5334, allocations: 75.88 kB / 0.5459 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.5335, allocations: 48.48 kB / 0.5459 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.5336, allocations: 23.98 kB / 0.546 GB, free: 6.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005035/0.5341, allocations: 419.1 kB / 0.5464 GB, free: 5.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5341, allocations: 4 kB / 0.5464 GB, free: 5.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005863/0.5399, allocations: 1.303 MB / 0.5476 GB, free: 4.645 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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 (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008765/0.5487, allocations: 1.326 MB / 0.5489 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003365/0.5521, allocations: 1.371 MB / 0.5503 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5521, allocations: 0 / 0.5503 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.5533, allocations: 0.8126 MB / 0.5511 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.5551, allocations: 294.6 kB / 0.5513 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.5589, allocations: 2.875 MB / 0.5542 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.5596, allocations: 1.138 MB / 0.5553 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001183/0.5608, allocations: 0.7898 MB / 0.556 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.561, allocations: 55.42 kB / 0.5561 GB, free: 11.95 MB / 430.1 MB Notification: Performance of SimCode: time 9.61e-07/0.561, allocations: 0 / 0.5561 GB, free: 11.95 MB / 430.1 MB Notification: Performance of Templates: time 0.06729/0.6283, allocations: 47.34 MB / 0.6023 GB, free: 12.57 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) Environment - environmentSimulation: