Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.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 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.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009133/0.0009129, allocations: 99.55 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.0009255/0.0009256, allocations: 177.3 kB / 15.94 MB, free: 228 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.227/1.227, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2653/0.2653, allocations: 39.99 MB / 310.4 MB, free: 9.691 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.2. 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.0005073/0.0005074, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09669, allocations: 57.96 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.1858/0.2825, allocations: 35.48 MB / 472.2 MB, free: 33.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.2987, allocations: 17.43 MB / 489.7 MB, free: 21.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.2994, allocations: 28.31 kB / 489.7 MB, free: 21.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3005, allocations: 428.3 kB / 490.1 MB, free: 21.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009028/0.3095, allocations: 4.084 MB / 494.2 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007252/0.3168, allocations: 2.953 MB / 497.2 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.3184, allocations: 1.024 MB / 498.2 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004788/0.3189, allocations: 394.7 kB / 498.6 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.3199, allocations: 0.6542 MB / 499.2 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008405/0.3283, allocations: 5.856 MB / 0.4932 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.3286, allocations: 33.16 kB / 0.4933 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/0.3437, allocations: 7.569 MB / 0.5007 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.344, allocations: 162.1 kB / 0.5008 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.3444, allocations: 178.2 kB / 0.501 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008476/0.3529, allocations: 3.592 MB / 0.5045 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3529, allocations: 0 / 0.5045 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3529, allocations: 0 / 0.5045 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.353, allocations: 0 / 0.5045 GB, free: 13.82 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005583/0.3586, allocations: 1.579 MB / 0.506 GB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3586, allocations: 12.58 kB / 0.506 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.3609, allocations: 316.5 kB / 0.5063 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/0.3617, allocations: 0.5162 MB / 0.5069 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.3618, allocations: 51.72 kB / 0.5069 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.3619, allocations: 57.48 kB / 0.507 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.3641, allocations: 1.024 MB / 0.508 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.3641, allocations: 2.094 kB / 0.508 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.3642, allocations: 23.5 kB / 0.508 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.3643, allocations: 24.69 kB / 0.508 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.3666, allocations: 0.9361 MB / 0.5089 GB, free: 10.96 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.004828/0.3714, allocations: 4.876 MB / 0.5137 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.3739, allocations: 0.9022 MB / 0.5146 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04683/0.4207, allocations: 24.43 MB / 0.5384 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.4209, allocations: 42.89 kB / 0.5385 GB, free: 12.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/0.4209, allocations: 0 / 0.5385 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.007442/0.4284, allocations: 2.046 MB / 0.5405 GB, free: 10.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.4285, allocations: 111.2 kB / 0.5406 GB, free: 10.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007871/0.4292, allocations: 0.534 MB / 0.5411 GB, free: 9.902 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.4293, allocations: 29.7 kB / 0.5411 GB, free: 9.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.4296, allocations: 340 kB / 0.5414 GB, free: 9.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.4298, allocations: 165.7 kB / 0.5416 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.4298, allocations: 12 kB / 0.5416 GB, free: 9.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.43, allocations: 374.7 kB / 0.542 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/0.4306, allocations: 297.1 kB / 0.5423 GB, free: 8.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007586/0.4314, allocations: 476.2 kB / 0.5427 GB, free: 8.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007239/0.4321, allocations: 332.6 kB / 0.543 GB, free: 7.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.4322, allocations: 4 kB / 0.543 GB, free: 7.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002022/0.4342, allocations: 0.9686 MB / 0.544 GB, free: 6.832 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008293/0.435, allocations: 2.008 MB / 0.5459 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4351, allocations: 4 kB / 0.5459 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.4379, allocations: 0.5276 MB / 0.5465 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.4384, allocations: 151.7 kB / 0.5466 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.4397, allocations: 0.9075 MB / 0.5475 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/0.4405, allocations: 123.3 kB / 0.5476 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.4406, allocations: 43.97 kB / 0.5476 GB, free: 2.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4406, allocations: 8 kB / 0.5477 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002104/0.4427, allocations: 0.8778 MB / 0.5485 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4427, allocations: 12.09 kB / 0.5485 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/0.4437, allocations: 216.7 kB / 0.5487 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.4443, allocations: 155.8 kB / 0.5489 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.4455, allocations: 0.8098 MB / 0.5497 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.4462, allocations: 111.5 kB / 0.5498 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.4463, allocations: 31.98 kB / 0.5498 GB, free: 0.6484 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (59): * Single equations (assignments): 58 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.000441/0.4467, allocations: 299.5 kB / 0.5501 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.4469, allocations: 67.11 kB / 0.5502 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.451, allocations: 3.154 MB / 0.5532 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.892e-05/0.451, allocations: 39.94 kB / 0.5533 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4511, allocations: 0 / 0.5533 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4511, allocations: 7.984 kB / 0.5533 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.4528, allocations: 1.532 MB / 0.5548 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4528, allocations: 0 / 0.5548 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.4532, allocations: 87.86 kB / 0.5549 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/0.4562, allocations: 1.225 MB / 0.5561 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/0.4563, allocations: 15.98 kB / 0.5561 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.458, allocations: 1.554 MB / 0.5576 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.458, allocations: 0 / 0.5576 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.4613, allocations: 2.184 MB / 0.5597 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/0.462, allocations: 338.7 kB / 0.56 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.4621, allocations: 12 kB / 0.5601 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.4627, allocations: 83.83 kB / 0.5601 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.4628, allocations: 48.48 kB / 0.5602 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.4629, allocations: 31.92 kB / 0.5602 GB, free: 5.855 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005987/0.4635, allocations: 475 kB / 0.5607 GB, free: 5.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4635, allocations: 0 / 0.5607 GB, free: 5.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005719/0.4693, allocations: 1.382 MB / 0.562 GB, free: 4.012 MB / 430.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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.007955/0.4772, allocations: 1.359 MB / 0.5633 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003502/0.4808, allocations: 1.504 MB / 0.5648 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.4808, allocations: 8.062 kB / 0.5648 GB, free: 1.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.4821, allocations: 0.8357 MB / 0.5656 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.4839, allocations: 319.6 kB / 0.5659 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.4876, allocations: 2.98 MB / 0.5689 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.4882, allocations: 1.174 MB / 0.57 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.4894, allocations: 0.77 MB / 0.5707 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.4896, allocations: 59.42 kB / 0.5708 GB, free: 10.95 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4896, allocations: 7.938 kB / 0.5708 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Templates: time 0.06685/0.5564, allocations: 49.79 MB / 0.6194 GB, free: 9.133 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) Environment - environmentSimulation: