Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.001248/0.001248, allocations: 87.67 kB / 21.19 MB, free: 3.398 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.001304/0.001304, allocations: 164.9 kB / 24.55 MB, free: 36 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.9034/0.9034, allocations: 158.6 MB / 186.4 MB, free: 2.914 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.1853/0.1853, allocations: 36.33 MB / 275.1 MB, free: 10.64 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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.106e-05, allocations: 5.828 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.02173/0.02176, allocations: 19.78 MB / 373.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007923/0.02968, allocations: 8.18 MB / 381.8 MB, free: 7.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.03001, allocations: 11.88 kB / 381.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.0305, allocations: 131 kB / 381.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.03111, allocations: 325.6 kB / 382.2 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.04114, allocations: 4.514 MB / 386.7 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009204/0.04206, allocations: 0.7967 MB / 387.5 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.04243, allocations: 224.3 kB / 387.8 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000429/0.04285, allocations: 391 kB / 388.1 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.04316, allocations: 243.3 kB / 388.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.0432, allocations: 28 kB / 388.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008172/0.05137, allocations: 5.812 MB / 394.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.05149, allocations: 83.61 kB / 394.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.05174, allocations: 163.6 kB / 394.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008649/0.06039, allocations: 4.478 MB / 398.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.06039, allocations: 3.984 kB / 398.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0604, allocations: 0 / 398.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.0604, allocations: 0 / 398.9 MB, free: 6.125 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002539/0.06294, allocations: 1.187 MB / 400.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.06299, allocations: 12.03 kB / 400.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.06332, allocations: 120.5 kB / 400.3 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.06379, allocations: 334.6 kB / 400.6 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.06382, allocations: 21.03 kB / 400.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.06386, allocations: 28.38 kB / 400.6 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/0.06449, allocations: 362 kB / 401 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.06451, allocations: 8.172 kB / 401 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.06454, allocations: 15.94 kB / 401 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.06455, allocations: 8 kB / 401 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.06493, allocations: 166.7 kB / 401.2 MB, free: 3.781 MB / 330.7 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.001569/0.0665, allocations: 1.55 MB / 402.7 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.0668, allocations: 122.9 kB / 402.8 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.06687, allocations: 39.67 kB / 402.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03806/0.1049, allocations: 16.8 MB / 419.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.105, allocations: 37.38 kB / 419.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.595e-06/0.105, allocations: 0 / 419.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.00144/0.1064, allocations: 439.8 kB / 420.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1064, allocations: 51.41 kB / 420.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.1067, allocations: 366.8 kB / 420.6 MB, free: 244 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1067, allocations: 29.7 kB / 420.6 MB, free: 208 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1069, allocations: 279.2 kB / 420.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.1069, allocations: 59.52 kB / 420.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.107, allocations: 51.34 kB / 421 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1072, allocations: 0.5118 MB / 421.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.1072, allocations: 43.59 kB / 421.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1073, allocations: 86.34 kB / 421.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1075, allocations: 129.2 kB / 421.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1075, allocations: 3.938 kB / 421.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003233/0.1078, allocations: 213 kB / 422 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1078, allocations: 8 kB / 422 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1079, allocations: 0 / 422 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.109, allocations: 315.4 kB / 422.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1092, allocations: 43.97 kB / 422.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006094/0.1098, allocations: 0.8818 MB / 423.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.11, allocations: 11.91 kB / 423.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.11, allocations: 15.98 kB / 423.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001401/0.1101, allocations: 150.9 kB / 423.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001147/0.1102, allocations: 113.5 kB / 423.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000157/0.1104, allocations: 141.1 kB / 423.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.1104, allocations: 3.938 kB / 423.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0004055/0.1108, allocations: 236.5 kB / 423.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1108, allocations: 8 kB / 423.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.1108, allocations: 0 / 423.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.111, allocations: 79.72 kB / 423.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1112, allocations: 63.89 kB / 424 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.1126, allocations: 1.861 MB / 425.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1127, allocations: 19.94 kB / 425.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1127, allocations: 4 kB / 425.9 MB, free: 10.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003595/0.1131, allocations: 276 kB / 426.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.1132, allocations: 43.77 kB / 426.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.1138, allocations: 0.5688 MB / 426.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1138, allocations: 11.98 kB / 426.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1138, allocations: 0 / 426.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1138, allocations: 0 / 426.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1142, allocations: 381.6 kB / 427.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1142, allocations: 0 / 427.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.1142, allocations: 23.92 kB / 427.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007553/0.115, allocations: 436.3 kB / 427.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.115, allocations: 4 kB / 427.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006062/0.1156, allocations: 1.083 MB / 428.7 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1156, allocations: 0 / 428.7 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.1161, allocations: 0.5966 MB / 429.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.1161, allocations: 59.47 kB / 429.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1162, allocations: 7.938 kB / 429.3 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.1163, allocations: 8 kB / 429.4 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.1163, allocations: 16.11 kB / 429.4 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1163, allocations: 7.984 kB / 429.4 MB, free: 6.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1165, allocations: 291 kB / 429.7 MB, free: 6.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1165, allocations: 0 / 429.7 MB, free: 6.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00227/0.1188, allocations: 0.9707 MB / 430.6 MB, free: 5.715 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002838/0.1216, allocations: 1.075 MB / 431.7 MB, free: 4.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007465/0.1224, allocations: 431.8 kB / 432.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1224, allocations: 0 / 432.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.1225, allocations: 125.7 kB / 432.3 MB, free: 4.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.1231, allocations: 177.2 kB / 432.4 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.1247, allocations: 0.8164 MB / 433.2 MB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.411e-05/0.1248, allocations: 117.6 kB / 433.4 MB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.125, allocations: 158.7 kB / 433.5 MB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.125, allocations: 32.48 kB / 433.5 MB, free: 2.715 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1251, allocations: 0 / 433.5 MB, free: 2.715 MB / 362.7 MB Notification: Performance of Templates: time 0.1554/0.2804, allocations: 34.85 MB / 468.4 MB, free: 80.15 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.522654755972326]