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.001527/0.001527, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002036/0.002036, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.753/1.753, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.3683/0.3683, allocations: 49.61 MB / 336.4 MB, free: 3.879 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.00285/0.00285, allocations: 75.88 kB / 476.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.156, allocations: 62.42 MB / 0.5262 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.3789/0.5349, allocations: 34.04 MB / 0.5594 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02189/0.5567, allocations: 13.06 MB / 0.5722 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.5574, allocations: 8.469 kB / 0.5722 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.5582, allocations: 150.6 kB / 0.5723 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000846/0.5591, allocations: 209.7 kB / 0.5725 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02353/0.5826, allocations: 6.47 MB / 0.5788 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.5838, allocations: 0.5921 MB / 0.5794 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.5842, allocations: 177.4 kB / 0.5796 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.5846, allocations: 231.4 kB / 0.5798 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.585, allocations: 212.3 kB / 0.58 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.585, allocations: 24.91 kB / 0.58 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01955/0.6046, allocations: 8.535 MB / 0.5884 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.6047, allocations: 73.03 kB / 0.5884 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.6052, allocations: 162 kB / 0.5886 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.6201, allocations: 5.144 MB / 0.5936 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6201, allocations: 0 / 0.5936 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6201, allocations: 0 / 0.5936 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.6202, allocations: 4 kB / 0.5936 GB, free: 15.31 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.003847/0.624, allocations: 1.195 MB / 0.5948 GB, free: 14.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6241, allocations: 9.25 kB / 0.5948 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.089e-05/0.6241, allocations: 59.11 kB / 0.5948 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.6244, allocations: 63.66 kB / 0.5949 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.6251, allocations: 271.4 kB / 0.5952 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.6251, allocations: 20.66 kB / 0.5952 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.6252, allocations: 37.33 kB / 0.5952 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.6259, allocations: 358.7 kB / 0.5956 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6259, allocations: 0 / 0.5956 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.6259, allocations: 10.94 kB / 0.5956 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.6259, allocations: 7.719 kB / 0.5956 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.6264, allocations: 211.9 kB / 0.5958 GB, free: 13.73 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.001978/0.6284, allocations: 1.182 MB / 0.5969 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.629, allocations: 170.6 kB / 0.5971 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.6291, allocations: 48.83 kB / 0.5971 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1179/0.747, allocations: 33.65 MB / 0.63 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.7471, allocations: 34.56 kB / 0.63 GB, free: 10.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.7471, allocations: 0 / 0.63 GB, free: 10.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.001285/0.7484, allocations: 322.1 kB / 0.6303 GB, free: 10.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.7484, allocations: 59.34 kB / 0.6304 GB, free: 10.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.7489, allocations: 361.6 kB / 0.6307 GB, free: 9.906 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.7489, allocations: 33.7 kB / 0.6308 GB, free: 9.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.7491, allocations: 200.2 kB / 0.631 GB, free: 9.668 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.7492, allocations: 59.52 kB / 0.631 GB, free: 9.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.7493, allocations: 45.66 kB / 0.6311 GB, free: 9.559 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.7495, allocations: 342.8 kB / 0.6314 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.7496, allocations: 51.83 kB / 0.6314 GB, free: 9.164 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.7497, allocations: 94.84 kB / 0.6315 GB, free: 9.047 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.0009541/0.7507, allocations: 292.9 kB / 0.6318 GB, free: 8.738 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.7507, allocations: 4 kB / 0.6318 GB, free: 8.734 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000456/0.7512, allocations: 234 kB / 0.632 GB, free: 8.496 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.7512, allocations: 8.406 kB / 0.632 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7512, allocations: 4.219 kB / 0.632 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.7513, allocations: 28.84 kB / 0.6321 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.7515, allocations: 43.92 kB / 0.6321 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.7528, allocations: 1.282 MB / 0.6334 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.753, allocations: 31.92 kB / 0.6334 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.753, allocations: 12 kB / 0.6334 GB, free: 6.977 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.0001703/0.7532, allocations: 145.7 kB / 0.6336 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.7533, allocations: 35.8 kB / 0.6336 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008501/0.7541, allocations: 0.624 MB / 0.6342 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.7541, allocations: 4 kB / 0.6342 GB, free: 6.148 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7541, allocations: 7.875 kB / 0.6342 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.7541, allocations: 3.984 kB / 0.6342 GB, free: 6.137 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.7555, allocations: 1.041 MB / 0.6352 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7556, allocations: 3.938 kB / 0.6352 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.7557, allocations: 35.98 kB / 0.6353 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.859e-05/0.7558, allocations: 16.84 kB / 0.6353 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.7558, allocations: 8 kB / 0.6353 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.7569, allocations: 1.28 MB / 0.6365 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7569, allocations: 3.938 kB / 0.6365 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/0.7578, allocations: 0.6686 MB / 0.6372 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/0.7578, allocations: 51.62 kB / 0.6372 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.7579, allocations: 11.94 kB / 0.6373 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.758, allocations: 3.984 kB / 0.6373 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.7581, allocations: 19.86 kB / 0.6373 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.7581, allocations: 4.125 kB / 0.6373 GB, free: 2.801 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002812/0.7584, allocations: 263.2 kB / 0.6375 GB, free: 2.543 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7584, allocations: 0 / 0.6375 GB, free: 2.543 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00494/0.7633, allocations: 1.267 MB / 0.6388 GB, free: 1.273 MB / 478.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.008409/0.7717, allocations: 2.416 MB / 0.6411 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008241/0.7726, allocations: 294.8 kB / 0.6414 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7726, allocations: 4.125 kB / 0.6414 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.7729, allocations: 230.3 kB / 0.6416 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.774, allocations: 183.4 kB / 0.6418 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.7818, allocations: 3.816 MB / 0.6455 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.7821, allocations: 204.1 kB / 0.6457 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.7823, allocations: 78.89 kB / 0.6458 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.7826, allocations: 139.4 kB / 0.6459 GB, free: 9.711 MB / 494.1 MB Notification: Performance of SimCode: time 2.124e-06/0.7826, allocations: 0 / 0.6459 GB, free: 9.711 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/0.9174, allocations: 55.26 MB / 0.6999 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/16.97, allocations: 4.062 kB / 0.6999 GB, free: 2.281 MB / 0.5294 GB " [Timeout remaining time 643] (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: 20.641809422057122] Failed to read output from testmodel.py, exit status != 0: 17.123808071948588 17.142607589 16.51883234 Calling exit ...