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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 105.9 kB / 17.06 MB, free: 6.004 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.001122/0.001122, allocations: 189.4 kB / 18 MB, free: 5.09 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.267/1.267, allocations: 205.1 MB / 223.9 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.2692/0.2692, allocations: 48.85 MB / 320.1 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.002063/0.002064, allocations: 71.89 kB / 450.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1066, allocations: 59.16 MB / 0.4973 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2328/0.3394, allocations: 37.09 MB / 0.5335 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.3535, allocations: 14.83 MB / 0.548 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.3538, allocations: 7.719 kB / 0.548 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.3543, allocations: 149.1 kB / 0.5481 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.3547, allocations: 219.7 kB / 0.5483 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01588/0.3705, allocations: 6.497 MB / 0.5547 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007539/0.3713, allocations: 0.5906 MB / 0.5553 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.3716, allocations: 216.5 kB / 0.5555 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.3719, allocations: 212.1 kB / 0.5557 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.3722, allocations: 229.1 kB / 0.5559 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.3722, allocations: 24.06 kB / 0.5559 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0174/0.3896, allocations: 8.917 MB / 0.5646 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.3898, allocations: 64.98 kB / 0.5647 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.3902, allocations: 202.6 kB / 0.5649 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.4021, allocations: 5.142 MB / 0.5699 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4021, allocations: 0 / 0.5699 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4021, allocations: 0 / 0.5699 GB, free: 11.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.4021, allocations: 1.375 kB / 0.5699 GB, free: 11.12 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.003772/0.4059, allocations: 1.268 MB / 0.5711 GB, free: 10.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.406, allocations: 12.17 kB / 0.5711 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.406, allocations: 63.62 kB / 0.5712 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.4063, allocations: 63.14 kB / 0.5713 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.4068, allocations: 326.7 kB / 0.5716 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.4068, allocations: 27.56 kB / 0.5716 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.4069, allocations: 33.88 kB / 0.5716 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.4075, allocations: 315.3 kB / 0.5719 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4075, allocations: 3.938 kB / 0.5719 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.4075, allocations: 10.88 kB / 0.5719 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4075, allocations: 6.969 kB / 0.572 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.408, allocations: 211.9 kB / 0.5722 GB, free: 9.414 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.001788/0.4098, allocations: 1.479 MB / 0.5736 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.4104, allocations: 191.5 kB / 0.5738 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.4105, allocations: 51.19 kB / 0.5738 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1305/0.541, allocations: 64.26 MB / 0.6366 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.5411, allocations: 32.06 kB / 0.6366 GB, free: 3.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.5411, allocations: 0 / 0.6366 GB, free: 3.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001376/0.5425, allocations: 403.2 kB / 0.637 GB, free: 3.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.5425, allocations: 55.34 kB / 0.6371 GB, free: 3.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.543, allocations: 361.6 kB / 0.6374 GB, free: 3.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.543, allocations: 29.7 kB / 0.6374 GB, free: 3.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.5432, allocations: 204.2 kB / 0.6376 GB, free: 2.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.5433, allocations: 55.55 kB / 0.6377 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.5434, allocations: 41.7 kB / 0.6377 GB, free: 2.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5436, allocations: 350.8 kB / 0.6381 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.5437, allocations: 43.92 kB / 0.6381 GB, free: 2.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.5438, allocations: 103.8 kB / 0.6382 GB, free: 2.199 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.0009597/0.5448, allocations: 368 kB / 0.6385 GB, free: 1.797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5448, allocations: 4 kB / 0.6385 GB, free: 1.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000447/0.5453, allocations: 230.3 kB / 0.6388 GB, free: 1.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5453, allocations: 7.938 kB / 0.6388 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5453, allocations: 7.328 kB / 0.6388 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.5455, allocations: 28.78 kB / 0.6388 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.5457, allocations: 43.97 kB / 0.6389 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.547, allocations: 1.392 MB / 0.6402 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.5472, allocations: 24.03 kB / 0.6402 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.5472, allocations: 12 kB / 0.6402 GB, free: 15.91 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.000173/0.5474, allocations: 150.5 kB / 0.6404 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.5475, allocations: 35.77 kB / 0.6404 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008387/0.5483, allocations: 0.597 MB / 0.641 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5483, allocations: 7.984 kB / 0.641 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5483, allocations: 8.438 kB / 0.641 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5484, allocations: 3.984 kB / 0.641 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.5497, allocations: 1.069 MB / 0.6421 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5497, allocations: 0.875 kB / 0.6421 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.5499, allocations: 31.98 kB / 0.6421 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.55, allocations: 32.81 kB / 0.6421 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.55, allocations: 4 kB / 0.6421 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.5511, allocations: 1.374 MB / 0.6435 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5511, allocations: 3.938 kB / 0.6435 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008214/0.5519, allocations: 0.654 MB / 0.6441 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.5521, allocations: 132.8 kB / 0.6442 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.5521, allocations: 3.938 kB / 0.6443 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5523, allocations: 14.3 kB / 0.6443 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.5523, allocations: 11.98 kB / 0.6443 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.5524, allocations: 8 kB / 0.6443 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002831/0.5526, allocations: 251.2 kB / 0.6445 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5526, allocations: 3.938 kB / 0.6445 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003931/0.5566, allocations: 1.271 MB / 0.6458 GB, free: 9.992 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.007197/0.5638, allocations: 2.404 MB / 0.6481 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006265/0.5644, allocations: 299.9 kB / 0.6484 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5645, allocations: 0 / 0.6484 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.5648, allocations: 254.3 kB / 0.6486 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5658, allocations: 174.2 kB / 0.6488 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006233/0.572, allocations: 3.818 MB / 0.6525 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.5725, allocations: 0.8076 MB / 0.6533 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002382/0.5727, allocations: 82.81 kB / 0.6534 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.5729, allocations: 139.4 kB / 0.6535 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.775e-06/0.573, allocations: 0 / 0.6535 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3845/0.9575, allocations: 54.08 MB / 0.7064 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.18, allocations: 4.062 kB / 0.7064 GB, free: 11.58 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestST2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)