Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 106.3 kB / 17.74 MB, free: 5.336 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.001032/0.001032, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2689/0.2689, allocations: 48.83 MB / 320.7 MB, free: 11.01 MB / 270.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: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.91 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 59.17 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2553/0.3607, allocations: 37.09 MB / 0.5346 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.3767, allocations: 14.83 MB / 0.5491 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.3771, allocations: 8.5 kB / 0.5491 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.3776, allocations: 141 kB / 0.5493 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.3781, allocations: 232.4 kB / 0.5495 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01869/0.3968, allocations: 6.499 MB / 0.5558 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.3976, allocations: 0.5921 MB / 0.5564 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.3979, allocations: 211.8 kB / 0.5566 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.3982, allocations: 223 kB / 0.5568 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.3985, allocations: 222.2 kB / 0.557 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.3985, allocations: 25.47 kB / 0.5571 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01745/0.416, allocations: 8.904 MB / 0.5658 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4161, allocations: 77.06 kB / 0.5658 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.4165, allocations: 193.7 kB / 0.566 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.4291, allocations: 5.133 MB / 0.571 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4291, allocations: 0 / 0.571 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4291, allocations: 0 / 0.571 GB, free: 10.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.4291, allocations: 0 / 0.571 GB, free: 10.95 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003881/0.433, allocations: 1.234 MB / 0.5722 GB, free: 10.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4331, allocations: 12.11 kB / 0.5723 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.4333, allocations: 67.73 kB / 0.5723 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.4338, allocations: 327.4 kB / 0.5726 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4338, allocations: 19 kB / 0.5726 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.4338, allocations: 26 kB / 0.5727 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.4345, allocations: 332.6 kB / 0.573 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4345, allocations: 6.453 kB / 0.573 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.4345, allocations: 11.5 kB / 0.573 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.4345, allocations: 9.875 kB / 0.573 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.435, allocations: 208.8 kB / 0.5732 GB, free: 9.34 MB / 430.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.001601/0.4366, allocations: 1.48 MB / 0.5747 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.4371, allocations: 174.2 kB / 0.5748 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.4372, allocations: 58.48 kB / 0.5749 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1259/0.5632, allocations: 64.25 MB / 0.6376 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.5632, allocations: 34.55 kB / 0.6377 GB, free: 3.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.946e-06/0.5632, allocations: 0 / 0.6377 GB, free: 3.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001198/0.5644, allocations: 391.1 kB / 0.638 GB, free: 3.293 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.5645, allocations: 55.41 kB / 0.6381 GB, free: 3.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.5649, allocations: 361.6 kB / 0.6384 GB, free: 2.867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.5649, allocations: 29.7 kB / 0.6385 GB, free: 2.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5651, allocations: 207.9 kB / 0.6387 GB, free: 2.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.5651, allocations: 59.19 kB / 0.6387 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.5652, allocations: 37.72 kB / 0.6388 GB, free: 2.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5653, allocations: 346.8 kB / 0.6391 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5654, allocations: 43.97 kB / 0.6391 GB, free: 2.133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.5656, allocations: 103.9 kB / 0.6392 GB, free: 2.008 MB / 494.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009339/0.5665, allocations: 368.8 kB / 0.6396 GB, free: 1.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5665, allocations: 4 kB / 0.6396 GB, free: 1.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004327/0.567, allocations: 227.9 kB / 0.6398 GB, free: 1.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.567, allocations: 8 kB / 0.6398 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.567, allocations: 224 / 0.6398 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.5671, allocations: 32.78 kB / 0.6398 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.5673, allocations: 47.92 kB / 0.6399 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00098/0.5683, allocations: 1.387 MB / 0.6412 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.5685, allocations: 27.78 kB / 0.6413 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5686, allocations: 7.984 kB / 0.6413 GB, free: 15.72 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.5687, allocations: 152.6 kB / 0.6414 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.5688, allocations: 31.62 kB / 0.6414 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/0.5695, allocations: 0.5968 MB / 0.642 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5696, allocations: 0 / 0.642 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5696, allocations: 2.188 kB / 0.642 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.5697, allocations: 128.4 kB / 0.6422 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.5698, allocations: 8 kB / 0.6422 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.5699, allocations: 7.984 kB / 0.6422 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.57, allocations: 15.98 kB / 0.6422 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007084/0.5707, allocations: 409.8 kB / 0.6426 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006329/0.5713, allocations: 0.61 MB / 0.6432 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001548/0.5715, allocations: 125.1 kB / 0.6433 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000247/0.5718, allocations: 259.2 kB / 0.6435 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of Backend: time 4.61e-07/0.5718, allocations: 0 / 0.6435 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008695/0.5805, allocations: 1.771 MB / 0.6453 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001888/0.5824, allocations: 1.4 MB / 0.6466 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.06477/0.6472, allocations: 52.53 MB / 0.6979 GB, free: 5.504 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)