Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.0009221/0.0009221, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009503/0.0009503, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 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.8705/0.8705, allocations: 158.6 MB / 187.5 MB, free: 2.809 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.1624/0.1624, allocations: 36.34 MB / 276.2 MB, free: 14.38 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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 355 MB, free: 62.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.382e-05, allocations: 2.312 kB / 355 MB, free: 62.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.01348/0.01349, allocations: 19.57 MB / 374.6 MB, free: 49.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005747/0.01924, allocations: 8.131 MB / 382.7 MB, free: 43.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.01944, allocations: 19.88 kB / 382.8 MB, free: 43.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.01977, allocations: 127 kB / 382.9 MB, free: 42.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.02012, allocations: 325.6 kB / 383.2 MB, free: 42.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007525/0.02765, allocations: 4.516 MB / 387.7 MB, free: 38.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.02818, allocations: 0.8015 MB / 388.5 MB, free: 37.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.02845, allocations: 214.8 kB / 388.7 MB, free: 37.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.02876, allocations: 403 kB / 389.1 MB, free: 36.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.02899, allocations: 243.3 kB / 389.4 MB, free: 36.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.02902, allocations: 32 kB / 389.4 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006083/0.0351, allocations: 5.795 MB / 395.2 MB, free: 30.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.03516, allocations: 79.67 kB / 395.3 MB, free: 30.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.03529, allocations: 163.6 kB / 395.4 MB, free: 30.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.03958, allocations: 4.447 MB / 399.9 MB, free: 25.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.03958, allocations: 3.938 kB / 399.9 MB, free: 25.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.03958, allocations: 0 / 399.9 MB, free: 25.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.03959, allocations: 3.938 kB / 399.9 MB, free: 25.93 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001616/0.04121, allocations: 1.163 MB / 401 MB, free: 24.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.04124, allocations: 8.031 kB / 401.1 MB, free: 24.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.04148, allocations: 144.5 kB / 401.2 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.0417, allocations: 272.4 kB / 401.5 MB, free: 24.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.04171, allocations: 25.03 kB / 401.5 MB, free: 24.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.04175, allocations: 36.38 kB / 401.5 MB, free: 24.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.04209, allocations: 373.9 kB / 401.9 MB, free: 23.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.0421, allocations: 192 / 401.9 MB, free: 23.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.04212, allocations: 15.94 kB / 401.9 MB, free: 23.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.04213, allocations: 8 kB / 401.9 MB, free: 23.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.04235, allocations: 172.3 kB / 402.1 MB, free: 23.62 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.0007811/0.04313, allocations: 1.648 MB / 403.7 MB, free: 21.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.04345, allocations: 195.1 kB / 403.9 MB, free: 21.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.0435, allocations: 55.64 kB / 404 MB, free: 21.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02294/0.06643, allocations: 14.59 MB / 418.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.06645, allocations: 41.38 kB / 418.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.392e-06/0.06645, allocations: 0 / 418.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001706/0.06816, allocations: 1.018 MB / 419.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.37e-05/0.06817, allocations: 55.41 kB / 419.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.06828, allocations: 310.1 kB / 420 MB, free: 5.539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.0683, allocations: 29.7 kB / 420 MB, free: 5.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.06836, allocations: 263.1 kB / 420.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.06841, allocations: 118.9 kB / 420.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.06847, allocations: 83.27 kB / 420.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.06852, allocations: 0.5156 MB / 421 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.06858, allocations: 59.64 kB / 421 MB, free: 4.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/0.06866, allocations: 141.3 kB / 421.2 MB, free: 4.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.06881, allocations: 181.8 kB / 421.4 MB, free: 4.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.06881, allocations: 2.938 kB / 421.4 MB, free: 4.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003818/0.06919, allocations: 327.9 kB / 421.7 MB, free: 3.742 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.0692, allocations: 11.94 kB / 421.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.06921, allocations: 0 / 421.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.06943, allocations: 83.38 kB / 421.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.0696, allocations: 75.91 kB / 421.8 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003529/0.06996, allocations: 1.608 MB / 423.5 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/0.07005, allocations: 20.06 kB / 423.5 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.07008, allocations: 11.98 kB / 423.5 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.15e-05/0.07017, allocations: 178.8 kB / 423.7 MB, free: 1.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.735e-05/0.07024, allocations: 114 kB / 423.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001227/0.07036, allocations: 178 kB / 423.9 MB, free: 1.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.07036, allocations: 0 / 423.9 MB, free: 1.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0002957/0.07066, allocations: 320.1 kB / 424.3 MB, free: 1.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.07066, allocations: 4.625 kB / 424.3 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.07067, allocations: 0 / 424.3 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.07084, allocations: 83.38 kB / 424.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.07098, allocations: 75.91 kB / 424.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004504/0.07143, allocations: 1.604 MB / 426 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.07152, allocations: 20.06 kB / 426 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.07153, allocations: 11.98 kB / 426.1 MB, free: 15.15 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Tank1.liquidState.phase,Tank2.liquidState.phase,Valve.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.07165, allocations: 292 kB / 426.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.0717, allocations: 39.81 kB / 426.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006857/0.07239, allocations: 0.6875 MB / 427.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.0724, allocations: 15.97 kB / 427.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.0724, allocations: 3.938 kB / 427.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.07241, allocations: 0 / 427.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.07274, allocations: 400.7 kB / 427.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.07274, allocations: 0 / 427.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.0729, allocations: 63.97 kB / 427.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/0.07344, allocations: 103.2 kB / 427.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.07346, allocations: 4 kB / 427.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005382/0.074, allocations: 1.608 MB / 429.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.074, allocations: 3.938 kB / 429.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.07468, allocations: 0.751 MB / 430 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-05/0.07476, allocations: 79.55 kB / 430.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.0748, allocations: 11.98 kB / 430.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.07489, allocations: 15.88 kB / 430.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.07494, allocations: 27.95 kB / 430.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.07496, allocations: 15.98 kB / 430.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.07506, allocations: 210.9 kB / 430.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07506, allocations: 0 / 430.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001607/0.07666, allocations: 0.9282 MB / 431.3 MB, free: 9.758 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/0.07907, allocations: 1.097 MB / 432.4 MB, free: 8.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006042/0.07967, allocations: 431.5 kB / 432.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.07967, allocations: 0 / 432.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.07991, allocations: 210.7 kB / 433 MB, free: 8.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.08044, allocations: 168.6 kB / 433.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.08174, allocations: 1.077 MB / 434.3 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.095e-05/0.08181, allocations: 126.9 kB / 434.4 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.08204, allocations: 185.2 kB / 434.6 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.08225, allocations: 182.1 kB / 434.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.08225, allocations: 4 kB / 434.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of Templates: time 0.0363/0.1185, allocations: 40.33 MB / 475.1 MB, free: 13.91 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.141039904206991]