Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001016/0.001016, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001029/0.001029, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 0.909/0.909, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.09637/0.09637, allocations: 19.74 MB / 281.2 MB, free: 9.246 MB / 266.7 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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 358 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.788e-05, allocations: 5.266 kB / 358 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.02342/0.02344, allocations: 20.24 MB / 378.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.03475, allocations: 8.433 MB / 386.6 MB, free: 9.824 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.03518, allocations: 19.81 kB / 386.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.03575, allocations: 146.8 kB / 386.8 MB, free: 9.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007439/0.03649, allocations: 349.4 kB / 387.1 MB, free: 9.316 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01292/0.04941, allocations: 4.737 MB / 391.9 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.0507, allocations: 0.9367 MB / 392.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.05112, allocations: 248.2 kB / 393.1 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.05167, allocations: 447 kB / 393.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.05208, allocations: 267.2 kB / 393.8 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.05214, allocations: 40 kB / 393.8 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.06338, allocations: 5.822 MB / 399.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.06354, allocations: 99.53 kB / 399.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.06392, allocations: 191.5 kB / 399.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.07392, allocations: 4.556 MB / 404.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.07392, allocations: 0 / 404.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.07393, allocations: 4 kB / 404.5 MB, free: 7.953 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.07394, allocations: 0 / 404.5 MB, free: 7.953 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003377/0.07732, allocations: 1.331 MB / 405.8 MB, free: 6.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.07736, allocations: 12.03 kB / 405.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.07774, allocations: 144.4 kB / 405.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.0783, allocations: 377.2 kB / 406.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.07846, allocations: 199.4 kB / 406.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.07851, allocations: 36.38 kB / 406.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.07945, allocations: 419.5 kB / 407 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.07946, allocations: 3.938 kB / 407 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.0795, allocations: 23.92 kB / 407 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.07952, allocations: 12 kB / 407 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.08031, allocations: 315.6 kB / 407.3 MB, free: 4.988 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.001563/0.08187, allocations: 1.153 MB / 408.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/0.08254, allocations: 254 kB / 408.7 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.08269, allocations: 71.66 kB / 408.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.08272, allocations: 4 kB / 408.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.08275, allocations: 37.39 kB / 408.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.325e-06/0.08275, allocations: 0 / 408.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.002306/0.08506, allocations: 0.5983 MB / 409.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.08509, allocations: 63.33 kB / 409.5 MB, free: 2.723 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.08571, allocations: 378.8 kB / 409.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.08573, allocations: 29.7 kB / 409.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.08589, allocations: 295.2 kB / 410.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/0.08597, allocations: 83.25 kB / 410.2 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.08608, allocations: 67.34 kB / 410.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.08623, allocations: 0.5196 MB / 410.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.08637, allocations: 51.59 kB / 410.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.0865, allocations: 54.06 kB / 410.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.08676, allocations: 108 kB / 411 MB, free: 1.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.08677, allocations: 4 kB / 411 MB, free: 1.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006382/0.0874, allocations: 261 kB / 411.3 MB, free: 0.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.08742, allocations: 8 kB / 411.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.08743, allocations: 0 / 411.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.08931, allocations: 347.2 kB / 411.6 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.08957, allocations: 59.89 kB / 411.7 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1309/0.2205, allocations: 0.8866 MB / 412.6 MB, free: 39.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.2207, allocations: 19.8 kB / 412.6 MB, free: 39.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.2207, allocations: 15.88 kB / 412.6 MB, free: 39.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000148/0.2209, allocations: 167.1 kB / 412.8 MB, free: 39.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.498e-05/0.221, allocations: 83.88 kB / 412.9 MB, free: 39.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001511/0.2211, allocations: 122.5 kB / 413 MB, free: 39.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.2211, allocations: 1.125 kB / 413 MB, free: 39.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0004454/0.2216, allocations: 262.3 kB / 413.2 MB, free: 39.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2216, allocations: 5.594 kB / 413.2 MB, free: 39.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2216, allocations: 0.9375 kB / 413.2 MB, free: 39.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.2218, allocations: 80.95 kB / 413.3 MB, free: 39.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.222, allocations: 66.73 kB / 413.4 MB, free: 39.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008693/0.2229, allocations: 1.856 MB / 415.2 MB, free: 37.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.223, allocations: 17.3 kB / 415.3 MB, free: 37.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.223, allocations: 13.97 kB / 415.3 MB, free: 37.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 18 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/0.2231, allocations: 281.9 kB / 415.6 MB, free: 37.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.2232, allocations: 48.33 kB / 415.6 MB, free: 37.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.2236, allocations: 297.8 kB / 415.9 MB, free: 37.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2236, allocations: 4.344 kB / 415.9 MB, free: 37.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.2236, allocations: 0 / 415.9 MB, free: 37.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2236, allocations: 2.703 kB / 415.9 MB, free: 37.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.2239, allocations: 308.7 kB / 416.2 MB, free: 37.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2239, allocations: 3.5 kB / 416.2 MB, free: 37.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.224, allocations: 33.47 kB / 416.2 MB, free: 37.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006349/0.2246, allocations: 218.4 kB / 416.4 MB, free: 37.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2246, allocations: 9.953 kB / 416.5 MB, free: 37.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003146/0.2249, allocations: 0.9074 MB / 417.4 MB, free: 36.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2249, allocations: 0 / 417.4 MB, free: 36.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.2253, allocations: 428.4 kB / 417.8 MB, free: 36.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.2254, allocations: 45.69 kB / 417.8 MB, free: 36.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.2254, allocations: 8.938 kB / 417.8 MB, free: 36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.2255, allocations: 10.52 kB / 417.8 MB, free: 36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.2256, allocations: 37.36 kB / 417.9 MB, free: 36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.2256, allocations: 7.953 kB / 417.9 MB, free: 36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.2257, allocations: 267.1 kB / 418.2 MB, free: 35.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2257, allocations: 0 / 418.2 MB, free: 35.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001822/0.2275, allocations: 1.002 MB / 419.2 MB, free: 35.85 MB / 330.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: 3 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002584/0.2301, allocations: 1.082 MB / 420.2 MB, free: 35.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007837/0.2309, allocations: 460.8 kB / 420.7 MB, free: 35.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2309, allocations: 0 / 420.7 MB, free: 35.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.2311, allocations: 130.5 kB / 420.8 MB, free: 35.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.2318, allocations: 228.8 kB / 421 MB, free: 35.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.2331, allocations: 0.7587 MB / 421.8 MB, free: 35.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.713e-05/0.2332, allocations: 108.3 kB / 421.9 MB, free: 35.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004498/0.2336, allocations: 420.7 kB / 422.3 MB, free: 35.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.2337, allocations: 34.86 kB / 422.3 MB, free: 35.04 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2337, allocations: 0 / 422.3 MB, free: 35.04 MB / 330.7 MB Notification: Performance of Templates: time 0.03333/0.267, allocations: 42.48 MB / 464.8 MB, free: 4.039 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.940311736892909]