Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001351/0.001351, allocations: 85.28 kB / 20.68 MB, free: 1.035 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.001545/0.001545, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.437/1.437, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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.1386/0.1386, allocations: 19.75 MB / 280.4 MB, free: 12.93 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: translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 417.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.689e-05, allocations: 2.281 kB / 417.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.2333/0.2333, allocations: 40.27 MB / 457.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01849/0.2518, allocations: 13.64 MB / 471 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005423/0.2524, allocations: 13.12 kB / 471 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008662/0.2532, allocations: 187.4 kB / 471.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008347/0.2541, allocations: 273 kB / 471.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01931/0.2734, allocations: 6.68 MB / 478.1 MB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008436/0.2742, allocations: 0.6935 MB / 478.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.2745, allocations: 202 kB / 479 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.2749, allocations: 358.7 kB / 479.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.2752, allocations: 208.1 kB / 479.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.2753, allocations: 27.5 kB / 479.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01465/0.2899, allocations: 8.648 MB / 488.2 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.29, allocations: 75.22 kB / 488.3 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.2903, allocations: 144.5 kB / 488.5 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.3018, allocations: 6.705 MB / 495.2 MB, free: 52 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3018, allocations: 0 / 495.2 MB, free: 52 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3018, allocations: 4.562 kB / 495.2 MB, free: 48 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.3018, allocations: 0 / 495.2 MB, free: 48 kB / 366.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.003385/0.3052, allocations: 1.243 MB / 496.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3052, allocations: 12.03 kB / 496.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.3055, allocations: 72.58 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.306, allocations: 265.7 kB / 496.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.306, allocations: 24.12 kB / 496.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.3061, allocations: 40.33 kB / 496.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008574/0.3069, allocations: 406.8 kB / 497.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.307, allocations: 0 / 497.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.307, allocations: 21.02 kB / 497.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.307, allocations: 8 kB / 497.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.3077, allocations: 254.4 kB / 497.5 MB, free: 13.63 MB / 382.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.001729/0.3094, allocations: 1.192 MB / 498.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.3101, allocations: 202.4 kB / 498.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.3102, allocations: 56.84 kB / 498.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1283/0.4385, allocations: 35.09 MB / 0.5215 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.4385, allocations: 38.88 kB / 0.5215 GB, free: 8.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.564e-06/0.4385, allocations: 0 / 0.5215 GB, free: 8.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001546/0.4401, allocations: 380.6 kB / 0.5219 GB, free: 8.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.4401, allocations: 55.34 kB / 0.522 GB, free: 8.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.4405, allocations: 292.5 kB / 0.5222 GB, free: 8.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.4406, allocations: 33.7 kB / 0.5223 GB, free: 8.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.4407, allocations: 212.4 kB / 0.5225 GB, free: 7.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.4408, allocations: 79.41 kB / 0.5225 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.463e-05/0.4409, allocations: 45.7 kB / 0.5226 GB, free: 7.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4411, allocations: 338.8 kB / 0.5229 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4412, allocations: 68.83 kB / 0.523 GB, free: 7.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.4414, allocations: 110.4 kB / 0.5231 GB, free: 7.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.4418, allocations: 183 kB / 0.5233 GB, free: 7.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4418, allocations: 0 / 0.5233 GB, free: 7.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006604/0.4424, allocations: 301.6 kB / 0.5235 GB, free: 6.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4425, allocations: 4 kB / 0.5235 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.4425, allocations: 4 kB / 0.5236 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/0.4429, allocations: 77.84 kB / 0.5236 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.4431, allocations: 47.92 kB / 0.5237 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.4449, allocations: 1.877 MB / 0.5255 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.445, allocations: 23.98 kB / 0.5255 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.4451, allocations: 12 kB / 0.5255 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002359/0.4453, allocations: 160.1 kB / 0.5257 GB, free: 4.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001688/0.4455, allocations: 114 kB / 0.5258 GB, free: 4.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002903/0.4457, allocations: 169.8 kB / 0.526 GB, free: 4.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.4457, allocations: 4 kB / 0.526 GB, free: 4.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006008/0.4463, allocations: 293.6 kB / 0.5262 GB, free: 3.832 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.4464, allocations: 4 kB / 0.5262 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4464, allocations: 4 kB / 0.5263 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/0.4467, allocations: 81.78 kB / 0.5263 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.4469, allocations: 43.98 kB / 0.5264 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.4485, allocations: 1.87 MB / 0.5282 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.4487, allocations: 19.92 kB / 0.5282 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4487, allocations: 8 kB / 0.5282 GB, free: 1.676 MB / 414.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.0001588/0.4488, allocations: 200.3 kB / 0.5284 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.4489, allocations: 27.81 kB / 0.5284 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.45, allocations: 0.8582 MB / 0.5293 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.45, allocations: 11.98 kB / 0.5293 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4501, allocations: 4 kB / 0.5293 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4501, allocations: 0 / 0.5293 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.4506, allocations: 459.4 kB / 0.5297 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4506, allocations: 4 kB / 0.5297 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.4508, allocations: 43.92 kB / 0.5298 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.443e-05/0.4509, allocations: 20.84 kB / 0.5298 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.451, allocations: 8 kB / 0.5298 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.452, allocations: 1.253 MB / 0.531 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.452, allocations: 4.062 kB / 0.531 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.4531, allocations: 0.8277 MB / 0.5318 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.4531, allocations: 51.47 kB / 0.5319 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.4532, allocations: 4 kB / 0.5319 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.4534, allocations: 8.031 kB / 0.5319 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.4534, allocations: 15.97 kB / 0.5319 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4534, allocations: 4 kB / 0.5319 GB, free: 13.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.4537, allocations: 207 kB / 0.5321 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4537, allocations: 4 kB / 0.5321 GB, free: 13.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004055/0.4577, allocations: 1.376 MB / 0.5335 GB, free: 12.14 MB / 430.1 MB 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.00592/0.4636, allocations: 1.604 MB / 0.535 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.465, allocations: 0.5957 MB / 0.5356 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.465, allocations: 0 / 0.5356 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.4654, allocations: 271.2 kB / 0.5359 GB, free: 9.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008898/0.4663, allocations: 127.6 kB / 0.536 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.4681, allocations: 1.043 MB / 0.537 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.4684, allocations: 237.5 kB / 0.5372 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002478/0.4686, allocations: 138.7 kB / 0.5374 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.4687, allocations: 24.5 kB / 0.5374 GB, free: 8.016 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4687, allocations: 0 / 0.5374 GB, free: 8.016 MB / 430.1 MB Notification: Performance of Templates: time 0.07176/0.5405, allocations: 49.73 MB / 0.586 GB, free: 6.32 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.766914412379265] Failed to read output from testmodel.py, exit status != 0: 0.5497408472001553 0.564005493 0.258881219 Calling exit ...