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.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.001299/0.001299, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001396/0.001396, allocations: 213.1 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3024/0.3024, allocations: 49.56 MB / 336.3 MB, free: 4.109 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 75.88 kB / 476.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 62.43 MB / 0.5262 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2705/0.3962, allocations: 37.65 MB / 0.5629 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02071/0.4169, allocations: 14.93 MB / 0.5775 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.4173, allocations: 8.312 kB / 0.5775 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.4179, allocations: 149.5 kB / 0.5776 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004975/0.4184, allocations: 213.7 kB / 0.5779 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02105/0.4395, allocations: 6.519 MB / 0.5842 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009559/0.4404, allocations: 0.5851 MB / 0.5848 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.4408, allocations: 185.4 kB / 0.585 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.4411, allocations: 230.6 kB / 0.5852 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.4414, allocations: 225.5 kB / 0.5854 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.4415, allocations: 25.53 kB / 0.5854 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01785/0.4593, allocations: 8.941 MB / 0.5942 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.4594, allocations: 69.48 kB / 0.5942 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.4598, allocations: 193.7 kB / 0.5944 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.4735, allocations: 5.15 MB / 0.5994 GB, free: 10.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4735, allocations: 0 / 0.5994 GB, free: 10.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4735, allocations: 0 / 0.5994 GB, free: 10.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.4735, allocations: 0 / 0.5994 GB, free: 10.32 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.003924/0.4775, allocations: 1.203 MB / 0.6006 GB, free: 9.453 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4775, allocations: 8.094 kB / 0.6006 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.269e-05/0.4776, allocations: 62.75 kB / 0.6007 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.4778, allocations: 64.12 kB / 0.6007 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.4783, allocations: 271 kB / 0.601 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4783, allocations: 20.47 kB / 0.601 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.4784, allocations: 33.7 kB / 0.6011 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.4791, allocations: 322.6 kB / 0.6014 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.4791, allocations: 5.281 kB / 0.6014 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.4791, allocations: 10.97 kB / 0.6014 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.4791, allocations: 7.094 kB / 0.6014 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/0.4796, allocations: 207 kB / 0.6016 GB, free: 8.703 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.001932/0.4816, allocations: 1.418 MB / 0.603 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.4821, allocations: 174.6 kB / 0.6031 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4822, allocations: 56.83 kB / 0.6032 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1103/0.5925, allocations: 33.51 MB / 0.6359 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.5925, allocations: 34.56 kB / 0.6359 GB, free: 5.344 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.5925, allocations: 0 / 0.6359 GB, free: 5.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001281/0.5938, allocations: 318.1 kB / 0.6362 GB, free: 5.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.5939, allocations: 59.28 kB / 0.6363 GB, free: 4.953 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.5944, allocations: 365.6 kB / 0.6366 GB, free: 4.586 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.5944, allocations: 29.7 kB / 0.6367 GB, free: 4.551 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.5946, allocations: 212.2 kB / 0.6369 GB, free: 4.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.5947, allocations: 51.53 kB / 0.6369 GB, free: 4.289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.5947, allocations: 49.7 kB / 0.637 GB, free: 4.234 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5949, allocations: 338.8 kB / 0.6373 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.595, allocations: 55.77 kB / 0.6373 GB, free: 3.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.5952, allocations: 98.78 kB / 0.6374 GB, free: 3.719 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.0009607/0.5961, allocations: 293.2 kB / 0.6377 GB, free: 3.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5961, allocations: 0 / 0.6377 GB, free: 3.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004752/0.5966, allocations: 238 kB / 0.638 GB, free: 3.168 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5966, allocations: 11.94 kB / 0.638 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5967, allocations: 1.188 kB / 0.638 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.5968, allocations: 24.84 kB / 0.638 GB, free: 3.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.597, allocations: 43.92 kB / 0.638 GB, free: 3.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.5981, allocations: 1.29 MB / 0.6393 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.5983, allocations: 23.83 kB / 0.6393 GB, free: 1.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.5984, allocations: 12 kB / 0.6393 GB, free: 1.648 MB / 478.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.0001794/0.5985, allocations: 141.7 kB / 0.6395 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.5986, allocations: 39.7 kB / 0.6395 GB, free: 1.461 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.5995, allocations: 0.6241 MB / 0.6401 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.5995, allocations: 11.98 kB / 0.6401 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5995, allocations: 3.938 kB / 0.6401 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5995, allocations: 0 / 0.6401 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.6009, allocations: 1.065 MB / 0.6412 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.601, allocations: 0 / 0.6412 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.6011, allocations: 35.92 kB / 0.6412 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.3e-05/0.6012, allocations: 24.88 kB / 0.6412 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.6012, allocations: 4 kB / 0.6412 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.6023, allocations: 1.288 MB / 0.6425 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6023, allocations: 3.938 kB / 0.6425 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.6031, allocations: 0.6772 MB / 0.6431 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.6033, allocations: 47.62 kB / 0.6432 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.6033, allocations: 7.938 kB / 0.6432 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.6035, allocations: 4 kB / 0.6432 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.6035, allocations: 11.98 kB / 0.6432 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.6035, allocations: 11.67 kB / 0.6432 GB, free: 13.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.6038, allocations: 259.2 kB / 0.6435 GB, free: 13.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6038, allocations: 0 / 0.6435 GB, free: 13.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003886/0.6077, allocations: 1.271 MB / 0.6447 GB, free: 11.91 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.008636/0.6163, allocations: 2.409 MB / 0.6471 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007332/0.6171, allocations: 303.2 kB / 0.6474 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6171, allocations: 0 / 0.6474 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.6174, allocations: 230.6 kB / 0.6476 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.6185, allocations: 187.9 kB / 0.6478 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007297/0.6258, allocations: 3.807 MB / 0.6515 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.6263, allocations: 0.8077 MB / 0.6523 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.6266, allocations: 78.83 kB / 0.6523 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.6268, allocations: 151.4 kB / 0.6525 GB, free: 3.734 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6268, allocations: 0 / 0.6525 GB, free: 3.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1555/0.7823, allocations: 54.45 MB / 0.7056 GB, free: 13.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.02, allocations: 12 kB / 0.7057 GB, free: 13.13 MB / 0.545 GB " [Timeout remaining time 644] (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 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.113219743827358] Failed to read output from testmodel.py, exit status != 0: 16.17593162902631 16.203199155 15.72458202 Calling exit ...