Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.001676/0.001676, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001974/0.001974, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.428/1.428, allocations: 207.6 MB / 235.3 MB, free: 10.89 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.3147/0.3147, allocations: 49.57 MB / 337.1 MB, free: 4.316 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: translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") [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.002242/0.002242, allocations: 75.89 kB / 477.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1296, allocations: 62.42 MB / 0.5274 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.3206/0.4502, allocations: 44.77 MB / 0.5711 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02231/0.4725, allocations: 15.57 MB / 0.5863 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005351/0.473, allocations: 13.41 kB / 0.5863 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007988/0.4738, allocations: 196.4 kB / 0.5865 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.4744, allocations: 251.2 kB / 0.5867 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02139/0.4958, allocations: 6.632 MB / 0.5932 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.4972, allocations: 0.6611 MB / 0.5939 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005103/0.4977, allocations: 203.8 kB / 0.5941 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.4981, allocations: 259.5 kB / 0.5943 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004064/0.4985, allocations: 263.4 kB / 0.5946 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.4986, allocations: 27.5 kB / 0.5946 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02089/0.5195, allocations: 9.026 MB / 0.6034 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.5196, allocations: 73.81 kB / 0.6035 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.5201, allocations: 214.3 kB / 0.6037 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01623/0.5364, allocations: 5.259 MB / 0.6088 GB, free: 2.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5364, allocations: 0 / 0.6088 GB, free: 2.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5364, allocations: 0 / 0.6088 GB, free: 2.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.5364, allocations: 0 / 0.6088 GB, free: 2.27 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004249/0.5406, allocations: 1.25 MB / 0.61 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5407, allocations: 12.03 kB / 0.61 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.5409, allocations: 72.56 kB / 0.6101 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.5415, allocations: 278.4 kB / 0.6104 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.5416, allocations: 21.03 kB / 0.6104 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.5416, allocations: 32.38 kB / 0.6104 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008062/0.5424, allocations: 384.3 kB / 0.6108 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.5425, allocations: 0 / 0.6108 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.5425, allocations: 16 kB / 0.6108 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.5425, allocations: 8 kB / 0.6108 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.5431, allocations: 254.4 kB / 0.611 GB, free: 15.88 MB / 462.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.002028/0.5452, allocations: 1.561 MB / 0.6126 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.5458, allocations: 206.3 kB / 0.6128 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.546, allocations: 64.84 kB / 0.6128 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1187/0.6647, allocations: 33.51 MB / 0.6456 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/0.6647, allocations: 38.5 kB / 0.6456 GB, free: 12.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 2.294e-06/0.6647, allocations: 4 kB / 0.6456 GB, free: 12.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.001544/0.6663, allocations: 382.8 kB / 0.646 GB, free: 11.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.6663, allocations: 51.41 kB / 0.646 GB, free: 11.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.6669, allocations: 361.6 kB / 0.6464 GB, free: 11.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.6669, allocations: 29.7 kB / 0.6464 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.6671, allocations: 220.1 kB / 0.6466 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.6672, allocations: 75.36 kB / 0.6467 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6673, allocations: 53.66 kB / 0.6467 GB, free: 11.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.6675, allocations: 342.8 kB / 0.647 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.6676, allocations: 64.83 kB / 0.6471 GB, free: 10.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.6678, allocations: 110 kB / 0.6472 GB, free: 10.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.6682, allocations: 177.8 kB / 0.6474 GB, free: 10.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6682, allocations: 0 / 0.6474 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006783/0.6688, allocations: 290.8 kB / 0.6477 GB, free: 10.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6689, allocations: 8.156 kB / 0.6477 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6689, allocations: 0 / 0.6477 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/0.6693, allocations: 85.77 kB / 0.6477 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.6695, allocations: 52.72 kB / 0.6478 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.6714, allocations: 1.888 MB / 0.6496 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.6717, allocations: 31.73 kB / 0.6497 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.6717, allocations: 12.12 kB / 0.6497 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000254/0.672, allocations: 168 kB / 0.6498 GB, free: 7.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001704/0.6721, allocations: 110.5 kB / 0.6499 GB, free: 7.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002956/0.6724, allocations: 175.2 kB / 0.6501 GB, free: 7.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.6724, allocations: 0 / 0.6501 GB, free: 7.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006563/0.6731, allocations: 299 kB / 0.6504 GB, free: 7.078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.6731, allocations: 7.906 kB / 0.6504 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6731, allocations: 4 kB / 0.6504 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.6734, allocations: 77.59 kB / 0.6505 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.6736, allocations: 55.97 kB / 0.6505 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.6754, allocations: 1.896 MB / 0.6524 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.6756, allocations: 19.84 kB / 0.6524 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.6757, allocations: 15.94 kB / 0.6524 GB, free: 4.863 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.6758, allocations: 188.2 kB / 0.6526 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-05/0.6759, allocations: 39.94 kB / 0.6526 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.6772, allocations: 0.8591 MB / 0.6535 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.6772, allocations: 11.98 kB / 0.6535 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6772, allocations: 4 kB / 0.6535 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6772, allocations: 3.984 kB / 0.6535 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007629/0.6779, allocations: 0.5337 MB / 0.654 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6779, allocations: 0 / 0.654 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.6782, allocations: 39.97 kB / 0.6541 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.6783, allocations: 32.78 kB / 0.6541 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.6783, allocations: 7.062 kB / 0.6541 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.6795, allocations: 1.276 MB / 0.6553 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6795, allocations: 0 / 0.6553 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.6806, allocations: 0.8326 MB / 0.6562 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.6807, allocations: 59.58 kB / 0.6562 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.6808, allocations: 3.938 kB / 0.6562 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.6809, allocations: 8 kB / 0.6562 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.681, allocations: 15.91 kB / 0.6562 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.681, allocations: 8 kB / 0.6562 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003292/0.6813, allocations: 251.2 kB / 0.6565 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6813, allocations: 0 / 0.6565 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004382/0.6857, allocations: 1.364 MB / 0.6578 GB, free: 15.14 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00717/0.6929, allocations: 1.426 MB / 0.6592 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.6944, allocations: 0.5918 MB / 0.6598 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6944, allocations: 0 / 0.6598 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.6948, allocations: 275.2 kB / 0.6601 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.6959, allocations: 172.2 kB / 0.6602 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.6983, allocations: 1.2 MB / 0.6614 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.6989, allocations: 0.84 MB / 0.6622 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.699, allocations: 39.36 kB / 0.6622 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.699, allocations: 0 / 0.6622 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.05242/0.7514, allocations: 29.36 MB / 0.6909 GB, free: 13.08 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.466097261058167] Failed to read output from testmodel.py, exit status != 0: 0.7622185919899493 0.77896499 0.23903933199999997 Calling exit ...