Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 113.2 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 216 kB / 23.74 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1644/0.1644, allocations: 26.82 MB / 340.7 MB, free: 8.18 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 67.89 kB / 476.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3576, allocations: 60.48 MB / 0.5247 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03915/0.3967, allocations: 37.8 MB / 0.5617 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01972/0.4164, allocations: 14.92 MB / 0.5762 GB, free: 204 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.4168, allocations: 15.94 kB / 0.5762 GB, free: 188 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.4173, allocations: 138.9 kB / 0.5764 GB, free: 48 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.4178, allocations: 222.6 kB / 0.5766 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01938/0.4372, allocations: 6.545 MB / 0.583 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000881/0.4381, allocations: 0.5909 MB / 0.5836 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.4384, allocations: 186.3 kB / 0.5837 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.4388, allocations: 235.1 kB / 0.584 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.4391, allocations: 230.9 kB / 0.5842 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.4391, allocations: 24 kB / 0.5842 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01675/0.4559, allocations: 8.935 MB / 0.5929 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.456, allocations: 63.7 kB / 0.593 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.4563, allocations: 199 kB / 0.5932 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.4686, allocations: 5.164 MB / 0.5982 GB, free: 9.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4687, allocations: 0 / 0.5982 GB, free: 9.645 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4687, allocations: 0 / 0.5982 GB, free: 9.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.4687, allocations: 0 / 0.5982 GB, free: 9.645 MB / 446.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.003369/0.472, allocations: 1.203 MB / 0.5994 GB, free: 8.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4721, allocations: 8.031 kB / 0.5994 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.388e-05/0.4722, allocations: 62.72 kB / 0.5995 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.4724, allocations: 60.64 kB / 0.5995 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.4728, allocations: 282.3 kB / 0.5998 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.4729, allocations: 21.02 kB / 0.5998 GB, free: 7.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.4729, allocations: 31.94 kB / 0.5998 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.4736, allocations: 319.3 kB / 0.6001 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.4736, allocations: 3.938 kB / 0.6001 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.4736, allocations: 12 kB / 0.6002 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.4736, allocations: 8 kB / 0.6002 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.4741, allocations: 209.8 kB / 0.6004 GB, free: 7.355 MB / 446.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.001875/0.476, allocations: 1.414 MB / 0.6017 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.4765, allocations: 174.6 kB / 0.6019 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4766, allocations: 52.84 kB / 0.602 GB, free: 5.586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1198/0.5964, allocations: 34.97 MB / 0.6361 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.5964, allocations: 38.56 kB / 0.6361 GB, free: 2.527 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.434e-06/0.5964, allocations: 0 / 0.6361 GB, free: 2.527 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001282/0.5977, allocations: 318 kB / 0.6364 GB, free: 2.207 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.5977, allocations: 55.41 kB / 0.6365 GB, free: 2.141 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.5982, allocations: 365.6 kB / 0.6369 GB, free: 1.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.5983, allocations: 29.7 kB / 0.6369 GB, free: 1.734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.5985, allocations: 204.2 kB / 0.6371 GB, free: 1.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.5985, allocations: 47.53 kB / 0.6371 GB, free: 1.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.5986, allocations: 49.66 kB / 0.6372 GB, free: 1.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.5988, allocations: 342.8 kB / 0.6375 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.5989, allocations: 47.97 kB / 0.6375 GB, free: 1.039 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.599, allocations: 106.6 kB / 0.6376 GB, free: 0.9102 MB / 478.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.0009565/0.6, allocations: 293.3 kB / 0.6379 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6, allocations: 0 / 0.6379 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004798/0.6005, allocations: 237.1 kB / 0.6381 GB, free: 372 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6005, allocations: 11.94 kB / 0.6382 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6005, allocations: 0 / 0.6382 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.6006, allocations: 24.84 kB / 0.6382 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.6008, allocations: 47.92 kB / 0.6382 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.6022, allocations: 1.279 MB / 0.6395 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.6025, allocations: 27.78 kB / 0.6395 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.6025, allocations: 20.09 kB / 0.6395 GB, free: 14.84 MB / 494.1 MB 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.0002123/0.6027, allocations: 145 kB / 0.6397 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.6028, allocations: 35.81 kB / 0.6397 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008939/0.6037, allocations: 0.6239 MB / 0.6403 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.6037, allocations: 11.98 kB / 0.6403 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6037, allocations: 15.81 kB / 0.6403 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6037, allocations: 0 / 0.6403 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.6052, allocations: 1.065 MB / 0.6414 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6052, allocations: 0 / 0.6414 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.6053, allocations: 35.98 kB / 0.6414 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.772e-05/0.6054, allocations: 24.88 kB / 0.6414 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.6055, allocations: 7.938 kB / 0.6414 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.6066, allocations: 1.28 MB / 0.6427 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6066, allocations: 0 / 0.6427 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008868/0.6075, allocations: 0.6725 MB / 0.6433 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.6075, allocations: 51.69 kB / 0.6434 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.6076, allocations: 11.92 kB / 0.6434 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.6078, allocations: 8 kB / 0.6434 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.6078, allocations: 7.984 kB / 0.6434 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.6078, allocations: 4 kB / 0.6434 GB, free: 10.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003118/0.6081, allocations: 263.2 kB / 0.6437 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6081, allocations: 0 / 0.6437 GB, free: 10.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004234/0.6124, allocations: 1.279 MB / 0.6449 GB, free: 9.098 MB / 494.1 MB 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.008227/0.6206, allocations: 2.428 MB / 0.6473 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006722/0.6213, allocations: 290.9 kB / 0.6476 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6213, allocations: 4.062 kB / 0.6476 GB, free: 6.332 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.6216, allocations: 226.3 kB / 0.6478 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009919/0.6226, allocations: 176.1 kB / 0.648 GB, free: 5.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007199/0.6298, allocations: 3.825 MB / 0.6517 GB, free: 1.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.6303, allocations: 0.8116 MB / 0.6525 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002352/0.6305, allocations: 78.89 kB / 0.6526 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.6307, allocations: 139.4 kB / 0.6527 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6307, allocations: 0 / 0.6527 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/0.7479, allocations: 54.53 MB / 0.7059 GB, free: 10.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.31, allocations: 4 kB / 0.706 GB, free: 10.48 MB / 0.545 GB " [Timeout remaining time 645] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestST2_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.061755147064105] Failed to read output from testmodel.py, exit status != 0: 15.458690520958044 15.474542347 15.002630619 Calling exit ...