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.001178/0.001178, allocations: 109.3 kB / 17.69 MB, free: 5.496 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.001108/0.001108, allocations: 188.1 kB / 18.62 MB, free: 4.578 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.438/1.438, 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.2781/0.2781, allocations: 48.85 MB / 320.7 MB, free: 11.02 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.002332/0.002332, allocations: 71.91 kB / 451.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 59.16 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.273/0.3981, allocations: 37.09 MB / 0.5346 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.4146, allocations: 14.83 MB / 0.5491 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003752/0.415, allocations: 9.344 kB / 0.5491 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.4156, allocations: 145.6 kB / 0.5492 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.4162, allocations: 222.9 kB / 0.5494 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02077/0.4369, allocations: 6.498 MB / 0.5558 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009109/0.4379, allocations: 0.5898 MB / 0.5563 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.4382, allocations: 215.2 kB / 0.5565 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.4386, allocations: 222.5 kB / 0.5568 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.4389, allocations: 222.4 kB / 0.557 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.4389, allocations: 28.28 kB / 0.557 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01857/0.4575, allocations: 8.902 MB / 0.5657 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.4577, allocations: 69.55 kB / 0.5658 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.4581, allocations: 193.7 kB / 0.5659 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.4732, allocations: 5.14 MB / 0.571 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4732, allocations: 0 / 0.571 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4732, allocations: 0 / 0.571 GB, free: 10.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4732, allocations: 1.094 kB / 0.571 GB, free: 10.99 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.004796/0.478, allocations: 1.241 MB / 0.5722 GB, free: 10.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4781, allocations: 13.73 kB / 0.5722 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.4784, allocations: 58.7 kB / 0.5722 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.4789, allocations: 323.2 kB / 0.5725 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.479, allocations: 19.31 kB / 0.5726 GB, free: 9.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.479, allocations: 34.3 kB / 0.5726 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/0.4797, allocations: 325.4 kB / 0.5729 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.4797, allocations: 13.64 kB / 0.5729 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.4798, allocations: 10.56 kB / 0.5729 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4798, allocations: 6.219 kB / 0.5729 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.4803, allocations: 209.4 kB / 0.5731 GB, free: 9.383 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.001817/0.4821, allocations: 1.476 MB / 0.5746 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.4827, allocations: 179 kB / 0.5747 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.4828, allocations: 51.22 kB / 0.5748 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1349/0.6177, allocations: 64.26 MB / 0.6375 GB, free: 3.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.6178, allocations: 34.5 kB / 0.6376 GB, free: 3.746 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.795e-06/0.6179, allocations: 0 / 0.6376 GB, free: 3.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001321/0.6192, allocations: 391.1 kB / 0.638 GB, free: 3.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.6192, allocations: 59.34 kB / 0.638 GB, free: 3.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.6197, allocations: 357.7 kB / 0.6384 GB, free: 2.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.6197, allocations: 33.7 kB / 0.6384 GB, free: 2.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.6199, allocations: 199.9 kB / 0.6386 GB, free: 2.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.62, allocations: 51.27 kB / 0.6386 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.62, allocations: 45.7 kB / 0.6387 GB, free: 2.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6202, allocations: 346.7 kB / 0.639 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.6203, allocations: 43.98 kB / 0.639 GB, free: 2.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.6204, allocations: 103.8 kB / 0.6391 GB, free: 2.055 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.0009873/0.6214, allocations: 376.8 kB / 0.6395 GB, free: 1.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.6214, allocations: 0 / 0.6395 GB, free: 1.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004857/0.6219, allocations: 225.9 kB / 0.6397 GB, free: 1.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.622, allocations: 4 kB / 0.6397 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.622, allocations: 12.16 kB / 0.6397 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.6221, allocations: 28.78 kB / 0.6398 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.6224, allocations: 47.91 kB / 0.6398 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.6235, allocations: 1.383 MB / 0.6412 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.6238, allocations: 24.66 kB / 0.6412 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.6238, allocations: 12 kB / 0.6412 GB, free: 15.76 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.0001848/0.624, allocations: 149.8 kB / 0.6413 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/0.6241, allocations: 31.62 kB / 0.6414 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008125/0.6249, allocations: 0.6085 MB / 0.642 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.6249, allocations: 11.92 kB / 0.642 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.6249, allocations: 0 / 0.642 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.6249, allocations: 3.938 kB / 0.642 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.6263, allocations: 1.073 MB / 0.643 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6263, allocations: 3.984 kB / 0.643 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.6265, allocations: 35.92 kB / 0.6431 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.6266, allocations: 24.84 kB / 0.6431 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.6266, allocations: 4 kB / 0.6431 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009688/0.6276, allocations: 1.379 MB / 0.6444 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.6276, allocations: 8 kB / 0.6444 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.6284, allocations: 0.6458 MB / 0.6451 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.6286, allocations: 124.4 kB / 0.6452 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.6286, allocations: 11.92 kB / 0.6452 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.6288, allocations: 8 kB / 0.6452 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.6289, allocations: 11.98 kB / 0.6452 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.6289, allocations: 4 kB / 0.6452 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002807/0.6292, allocations: 259.2 kB / 0.6455 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.096e-05/0.6292, allocations: 0 / 0.6455 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004837/0.634, allocations: 1.257 MB / 0.6467 GB, free: 9.863 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.008476/0.6425, allocations: 1.403 MB / 0.6481 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000732/0.6433, allocations: 311.4 kB / 0.6484 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6433, allocations: 0 / 0.6484 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.6437, allocations: 246.6 kB / 0.6486 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.6448, allocations: 173.1 kB / 0.6488 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.6465, allocations: 0.9673 MB / 0.6497 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.6469, allocations: 0.8116 MB / 0.6505 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.647, allocations: 27.44 kB / 0.6505 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.647, allocations: 0 / 0.6505 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.04217/0.6892, allocations: 27.7 MB / 0.6776 GB, free: 10.11 MB / 0.5294 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)