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.001479/0.001479, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.001653/0.001653, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.335/1.335, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2738/0.2738, allocations: 48.84 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.001532/0.001532, allocations: 72.47 kB / 450 MB, free: 9.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09443, allocations: 59.16 MB / 0.4973 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2463/0.3407, allocations: 37.08 MB / 0.5335 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.3559, allocations: 14.84 MB / 0.548 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.3562, allocations: 8.938 kB / 0.548 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.3567, allocations: 138.7 kB / 0.5481 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.3572, allocations: 214.4 kB / 0.5483 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01792/0.3751, allocations: 6.503 MB / 0.5547 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007633/0.3759, allocations: 0.5915 MB / 0.5552 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.3763, allocations: 222 kB / 0.5555 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.3766, allocations: 217.8 kB / 0.5557 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.3768, allocations: 227.2 kB / 0.5559 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.3769, allocations: 26.16 kB / 0.5559 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01734/0.3942, allocations: 8.908 MB / 0.5646 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3944, allocations: 65.17 kB / 0.5647 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.3948, allocations: 198 kB / 0.5649 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.407, allocations: 5.137 MB / 0.5699 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.407, allocations: 0 / 0.5699 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.407, allocations: 4 kB / 0.5699 GB, free: 11.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.4071, allocations: 0 / 0.5699 GB, free: 11.11 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.004247/0.4113, allocations: 1.231 MB / 0.5711 GB, free: 10.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4114, allocations: 12.39 kB / 0.5711 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.204e-05/0.4115, allocations: 63.91 kB / 0.5712 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.4117, allocations: 62.45 kB / 0.5712 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.4123, allocations: 326.9 kB / 0.5715 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.4123, allocations: 23.72 kB / 0.5715 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.4123, allocations: 30.12 kB / 0.5716 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.413, allocations: 325.2 kB / 0.5719 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.413, allocations: 5.344 kB / 0.5719 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.4131, allocations: 10.75 kB / 0.5719 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4131, allocations: 6.406 kB / 0.5719 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.4136, allocations: 209 kB / 0.5721 GB, free: 9.445 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.00186/0.4155, allocations: 1.478 MB / 0.5735 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.416, allocations: 185.6 kB / 0.5737 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4162, allocations: 51.91 kB / 0.5738 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1267/0.5429, allocations: 64.25 MB / 0.6365 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.543, allocations: 34.56 kB / 0.6365 GB, free: 3.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.244e-06/0.543, allocations: 3.938 kB / 0.6366 GB, free: 3.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001271/0.5443, allocations: 391.1 kB / 0.6369 GB, free: 3.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.5443, allocations: 55.34 kB / 0.637 GB, free: 3.492 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.5448, allocations: 357.7 kB / 0.6373 GB, free: 3.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.5448, allocations: 33.7 kB / 0.6374 GB, free: 3.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.545, allocations: 203.9 kB / 0.6375 GB, free: 2.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.545, allocations: 55.34 kB / 0.6376 GB, free: 2.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.5451, allocations: 45.7 kB / 0.6376 GB, free: 2.789 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5453, allocations: 338.8 kB / 0.638 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.5454, allocations: 55.84 kB / 0.638 GB, free: 2.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.5455, allocations: 103.8 kB / 0.6381 GB, free: 2.27 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.00094/0.5465, allocations: 372.6 kB / 0.6385 GB, free: 1.863 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.5465, allocations: 6.188 kB / 0.6385 GB, free: 1.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000435/0.5469, allocations: 229.9 kB / 0.6387 GB, free: 1.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.547, allocations: 7.938 kB / 0.6387 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.547, allocations: 4 kB / 0.6387 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.5471, allocations: 24.84 kB / 0.6387 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.5473, allocations: 40.2 kB / 0.6388 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.5483, allocations: 1.397 MB / 0.6401 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.5486, allocations: 23.77 kB / 0.6402 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.5486, allocations: 15.94 kB / 0.6402 GB, free: 15.97 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.0001583/0.5488, allocations: 142.6 kB / 0.6403 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.5489, allocations: 39.53 kB / 0.6403 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.5496, allocations: 0.6009 MB / 0.6409 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.5497, allocations: 12.86 kB / 0.6409 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5497, allocations: 3.938 kB / 0.641 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.5497, allocations: 0 / 0.641 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.5509, allocations: 1.069 MB / 0.642 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.551, allocations: 0 / 0.642 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.5512, allocations: 43.95 kB / 0.642 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.834e-05/0.5513, allocations: 22.41 kB / 0.6421 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5513, allocations: 4 kB / 0.6421 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008576/0.5522, allocations: 1.377 MB / 0.6434 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5522, allocations: 3.938 kB / 0.6434 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.5529, allocations: 0.6492 MB / 0.644 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.553, allocations: 130.8 kB / 0.6442 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.5531, allocations: 7.938 kB / 0.6442 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.5533, allocations: 4 kB / 0.6442 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.5533, allocations: 19.92 kB / 0.6442 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5534, allocations: 4 kB / 0.6442 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002487/0.5536, allocations: 259.2 kB / 0.6444 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5536, allocations: 4 kB / 0.6445 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003926/0.5576, allocations: 1.253 MB / 0.6457 GB, free: 10.08 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.008126/0.5657, allocations: 2.384 MB / 0.648 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.5663, allocations: 310.4 kB / 0.6483 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5663, allocations: 0 / 0.6483 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.5666, allocations: 254.3 kB / 0.6485 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009964/0.5676, allocations: 165.7 kB / 0.6487 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00671/0.5743, allocations: 3.79 MB / 0.6524 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.5747, allocations: 0.8076 MB / 0.6532 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.5749, allocations: 70.91 kB / 0.6533 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.5751, allocations: 147.4 kB / 0.6534 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of SimCode: time 1.924e-06/0.5751, allocations: 0 / 0.6534 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09387/0.669, allocations: 54.27 MB / 0.7064 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.23, allocations: 0 / 0.7064 GB, free: 11.54 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)