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.0009268/0.0009268, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001212/0.001212, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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 0.8703/0.8703, allocations: 158.6 MB / 186.4 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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.1734/0.1734, allocations: 36.34 MB / 275.1 MB, free: 10.62 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.624e-05, allocations: 6.312 kB / 353.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.01888/0.0189, allocations: 21.93 MB / 375.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.03266, allocations: 14.65 MB / 390.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.03299, allocations: 7.938 kB / 390.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.0335, allocations: 142.9 kB / 390.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.03388, allocations: 262 kB / 390.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01513/0.049, allocations: 6.563 MB / 397.4 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009776/0.04998, allocations: 0.6995 MB / 398.1 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.05038, allocations: 207.7 kB / 398.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.05077, allocations: 347 kB / 398.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.05105, allocations: 215.3 kB / 398.8 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.05109, allocations: 28 kB / 398.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01508/0.06617, allocations: 8.567 MB / 407.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.06628, allocations: 79.59 kB / 407.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.06655, allocations: 143.7 kB / 407.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.0806, allocations: 6.532 MB / 414.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.08061, allocations: 0 / 414.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08061, allocations: 0 / 414.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.08062, allocations: 0 / 414.2 MB, free: 6.863 MB / 346.7 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.003579/0.0842, allocations: 1.337 MB / 415.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.08425, allocations: 12.03 kB / 415.5 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.08456, allocations: 100.6 kB / 415.6 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.08496, allocations: 276.4 kB / 415.9 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.08498, allocations: 25.03 kB / 415.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.08504, allocations: 36.36 kB / 416 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.08577, allocations: 380.4 kB / 416.3 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.08579, allocations: 15.86 kB / 416.3 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.08582, allocations: 8 kB / 416.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.08584, allocations: 8 kB / 416.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.08625, allocations: 179.7 kB / 416.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.08769, allocations: 1.462 MB / 418 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.08835, allocations: 178.9 kB / 418.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/0.08843, allocations: 39.98 kB / 418.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2193/0.3078, allocations: 33.62 MB / 451.8 MB, free: 62.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.3078, allocations: 38.66 kB / 451.9 MB, free: 62.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.384e-06/0.3078, allocations: 0 / 451.9 MB, free: 62.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009506/0.3088, allocations: 341.2 kB / 452.2 MB, free: 62.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.3088, allocations: 53.47 kB / 452.3 MB, free: 62.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.309, allocations: 341.3 kB / 452.6 MB, free: 62.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.309, allocations: 31.23 kB / 452.6 MB, free: 62.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3091, allocations: 266 kB / 452.9 MB, free: 62.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.3092, allocations: 68.88 kB / 452.9 MB, free: 62.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.3092, allocations: 53.84 kB / 453 MB, free: 62.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.3093, allocations: 0.5114 MB / 453.5 MB, free: 61.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.3094, allocations: 42.88 kB / 453.6 MB, free: 61.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.3094, allocations: 100.9 kB / 453.7 MB, free: 61.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3096, allocations: 156.4 kB / 453.8 MB, free: 61.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3096, allocations: 0 / 453.8 MB, free: 61.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004124/0.31, allocations: 254.3 kB / 454.1 MB, free: 61.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.31, allocations: 5 kB / 454.1 MB, free: 61.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.31, allocations: 4.188 kB / 454.1 MB, free: 61.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.3104, allocations: 69.47 kB / 454.1 MB, free: 61.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3105, allocations: 45.44 kB / 454.2 MB, free: 61.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.3117, allocations: 2.597 MB / 456.8 MB, free: 58.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3118, allocations: 19.69 kB / 456.8 MB, free: 58.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3118, allocations: 16.55 kB / 456.8 MB, free: 58.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001211/0.3119, allocations: 160.5 kB / 457 MB, free: 58.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.486e-05/0.312, allocations: 100.5 kB / 457.1 MB, free: 58.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001295/0.3121, allocations: 151.5 kB / 457.2 MB, free: 58.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.3121, allocations: 0 / 457.2 MB, free: 58.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002704/0.3124, allocations: 248.2 kB / 457.5 MB, free: 58.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.3124, allocations: 8 kB / 457.5 MB, free: 58.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3124, allocations: 2.906 kB / 457.5 MB, free: 58.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.3126, allocations: 75.44 kB / 457.5 MB, free: 58.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.3127, allocations: 46.88 kB / 457.6 MB, free: 58.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000715/0.3134, allocations: 2.587 MB / 460.2 MB, free: 55.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.3135, allocations: 22.27 kB / 460.2 MB, free: 55.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3135, allocations: 12.06 kB / 460.2 MB, free: 55.68 MB / 362.7 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 8.239e-05/0.3135, allocations: 284.9 kB / 460.5 MB, free: 55.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.3136, allocations: 35.44 kB / 460.5 MB, free: 55.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.314, allocations: 0.5491 MB / 461.1 MB, free: 54.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3141, allocations: 16.97 kB / 461.1 MB, free: 54.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3141, allocations: 0 / 461.1 MB, free: 54.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3141, allocations: 3.938 kB / 461.1 MB, free: 54.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.3143, allocations: 372.7 kB / 461.4 MB, free: 54.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3143, allocations: 6.25 kB / 461.5 MB, free: 54.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3144, allocations: 40.61 kB / 461.5 MB, free: 54.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.892e-05/0.3145, allocations: 34 kB / 461.5 MB, free: 54.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3145, allocations: 3.312 kB / 461.5 MB, free: 54.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004495/0.315, allocations: 1.734 MB / 463.3 MB, free: 52.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.315, allocations: 0 / 463.3 MB, free: 52.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.3154, allocations: 0.5892 MB / 463.9 MB, free: 52.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.3154, allocations: 54.16 kB / 463.9 MB, free: 52.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3154, allocations: 6.812 kB / 463.9 MB, free: 52.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.3155, allocations: 4 kB / 463.9 MB, free: 52.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.3156, allocations: 14.34 kB / 463.9 MB, free: 52.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3156, allocations: 4 kB / 463.9 MB, free: 52.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.3157, allocations: 235.5 kB / 464.2 MB, free: 52.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3157, allocations: 0 / 464.2 MB, free: 52.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002927/0.3186, allocations: 1.374 MB / 465.5 MB, free: 50.84 MB / 362.7 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.003581/0.3222, allocations: 1.593 MB / 467.1 MB, free: 49.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.3228, allocations: 0.6109 MB / 467.7 MB, free: 48.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3228, allocations: 0 / 467.7 MB, free: 48.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.323, allocations: 282 kB / 468 MB, free: 48.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.3234, allocations: 130.7 kB / 468.1 MB, free: 48.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.3251, allocations: 1.016 MB / 469.2 MB, free: 47.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.3251, allocations: 123.9 kB / 469.3 MB, free: 47.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.3253, allocations: 140.8 kB / 469.4 MB, free: 47.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.3254, allocations: 24.5 kB / 469.4 MB, free: 47.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3254, allocations: 0 / 469.4 MB, free: 47.5 MB / 362.7 MB Notification: Performance of Templates: time 0.04634/0.3717, allocations: 50.76 MB / 0.508 GB, free: 13.26 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.53097579581663]