Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0008893/0.0008893, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009595/0.0009595, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 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.8813/0.8813, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.09327/0.09327, allocations: 19.74 MB / 281.5 MB, free: 9.34 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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 357.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.068e-05, allocations: 5.266 kB / 357.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.03187/0.03189, allocations: 47.9 MB / 405.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1311/0.163, allocations: 9.7 MB / 415.5 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.1632, allocations: 12.5 kB / 415.6 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.1637, allocations: 244.3 kB / 415.8 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.1642, allocations: 318.9 kB / 416.1 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008088/0.1723, allocations: 4.793 MB / 420.9 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006768/0.173, allocations: 0.8488 MB / 421.8 MB, free: 16.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.1732, allocations: 217.7 kB / 422 MB, free: 16.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.1736, allocations: 437.8 kB / 422.4 MB, free: 16.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.1739, allocations: 257.9 kB / 422.6 MB, free: 16.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.1739, allocations: 31.72 kB / 422.7 MB, free: 16.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007133/0.1811, allocations: 5.956 MB / 428.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.1811, allocations: 79.98 kB / 428.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1813, allocations: 176 kB / 428.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004372/0.1856, allocations: 4.639 MB / 433.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1856, allocations: 3.062 kB / 433.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1856, allocations: 0 / 433.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1856, allocations: 2.812 kB / 433.5 MB, free: 14.63 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001671/0.1873, allocations: 1.228 MB / 434.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.1873, allocations: 12.28 kB / 434.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.1876, allocations: 144.2 kB / 434.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1879, allocations: 297.5 kB / 435.2 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.1879, allocations: 86.89 kB / 435.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.188, allocations: 44.78 kB / 435.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.1885, allocations: 418 kB / 435.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1885, allocations: 1.75 kB / 435.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.1885, allocations: 18.12 kB / 435.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.1885, allocations: 11.22 kB / 435.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.1889, allocations: 247.2 kB / 436 MB, free: 13.2 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.0009089/0.1898, allocations: 1.604 MB / 437.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.1902, allocations: 214.1 kB / 437.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.1903, allocations: 79.2 kB / 437.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02707/0.2174, allocations: 17.53 MB / 455.4 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2174, allocations: 48.31 kB / 455.5 MB, free: 164 kB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.2174, allocations: 0 / 455.5 MB, free: 164 kB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.00251/0.2199, allocations: 1.222 MB / 456.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.2199, allocations: 55.41 kB / 456.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.2201, allocations: 316.4 kB / 457.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.2202, allocations: 36.89 kB / 457.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2203, allocations: 257.7 kB / 457.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.2203, allocations: 140.6 kB / 457.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.104e-05/0.2204, allocations: 75.67 kB / 457.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2205, allocations: 0.5136 MB / 458.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2207, allocations: 86.7 kB / 458.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.2209, allocations: 138.2 kB / 458.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.2212, allocations: 222.6 kB / 458.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2212, allocations: 4 kB / 458.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004913/0.2217, allocations: 370.3 kB / 458.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2217, allocations: 8 kB / 458.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2217, allocations: 0 / 458.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.222, allocations: 87.8 kB / 459 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.2222, allocations: 81.92 kB / 459 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005729/0.2227, allocations: 1.602 MB / 460.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2228, allocations: 21.66 kB / 460.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.2229, allocations: 19.36 kB / 460.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001611/0.223, allocations: 205.6 kB / 460.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001263/0.2232, allocations: 125 kB / 461 MB, free: 10.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002333/0.2234, allocations: 217 kB / 461.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.2234, allocations: 4 kB / 461.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004441/0.2238, allocations: 349.6 kB / 461.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.2238, allocations: 8 kB / 461.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.2238, allocations: 0 / 461.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.224, allocations: 86.22 kB / 461.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.2242, allocations: 78.88 kB / 461.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005185/0.2247, allocations: 1.615 MB / 463.4 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.131e-05/0.2248, allocations: 11.98 kB / 463.4 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.2248, allocations: 16 kB / 463.4 MB, free: 8.469 MB / 346.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 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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.0001163/0.225, allocations: 285.8 kB / 463.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.225, allocations: 51.77 kB / 463.7 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.2257, allocations: 0.6577 MB / 464.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.2257, allocations: 11.92 kB / 464.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2258, allocations: 0 / 464.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2258, allocations: 3.656 kB / 464.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.2261, allocations: 423.3 kB / 464.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2261, allocations: 0 / 464.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.2263, allocations: 66.97 kB / 464.9 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.2266, allocations: 102.2 kB / 465 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2266, allocations: 16.86 kB / 465 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006472/0.2272, allocations: 1.611 MB / 466.6 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2272, allocations: 0 / 466.6 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.228, allocations: 0.7805 MB / 467.4 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.2281, allocations: 81.3 kB / 467.4 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.2281, allocations: 12 kB / 467.5 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2282, allocations: 6.438 kB / 467.5 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.2283, allocations: 39.81 kB / 467.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2283, allocations: 12 kB / 467.5 MB, free: 4.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.2284, allocations: 218 kB / 467.7 MB, free: 4 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2284, allocations: 0 / 467.7 MB, free: 4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001699/0.2301, allocations: 0.9516 MB / 468.7 MB, free: 3.047 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: 5 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,Valve.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002269/0.2324, allocations: 1.097 MB / 469.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007281/0.2331, allocations: 498.2 kB / 470.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2331, allocations: 0 / 470.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.2334, allocations: 238.3 kB / 470.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.234, allocations: 199.9 kB / 470.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.2355, allocations: 1.038 MB / 471.7 MB, free: 96 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.944e-05/0.2355, allocations: 122.8 kB / 471.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003366/0.2359, allocations: 343.3 kB / 472.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.2359, allocations: 36.5 kB / 472.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2359, allocations: 0 / 472.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Templates: time 0.03096/0.2669, allocations: 36.41 MB / 0.4967 GB, free: 11.37 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.477989497827366]