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.002552/0.002552, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00198/0.00198, allocations: 165.6 kB / 24.27 MB, free: 156 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 1.552/1.552, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.1508/0.1508, allocations: 19.74 MB / 280.8 MB, free: 9.324 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.703e-06/1.703e-06, allocations: 0 / 357.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.983e-05, allocations: 6.312 kB / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.06269/0.06272, allocations: 47.77 MB / 405 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1593/0.2221, allocations: 9.702 MB / 414.7 MB, free: 16.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003621/0.2224, allocations: 11.38 kB / 414.7 MB, free: 16.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.2231, allocations: 238.1 kB / 414.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.2237, allocations: 332 kB / 415.3 MB, free: 16.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01559/0.2393, allocations: 4.795 MB / 420.1 MB, free: 16.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.2411, allocations: 0.8456 MB / 420.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004502/0.2416, allocations: 211.5 kB / 421.1 MB, free: 16.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006507/0.2422, allocations: 432.8 kB / 421.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.2427, allocations: 262.3 kB / 421.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.2428, allocations: 32.28 kB / 421.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01559/0.2583, allocations: 5.951 MB / 427.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.2585, allocations: 88.62 kB / 427.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004825/0.259, allocations: 177.3 kB / 428 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009304/0.2683, allocations: 4.738 MB / 432.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2683, allocations: 2.312 kB / 432.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2683, allocations: 0 / 432.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2683, allocations: 3 kB / 432.8 MB, free: 14.43 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.00277/0.2711, allocations: 1.26 MB / 434 MB, free: 13.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2712, allocations: 10.88 kB / 434 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.2716, allocations: 144.2 kB / 434.2 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.272, allocations: 304.3 kB / 434.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.272, allocations: 83.38 kB / 434.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.2721, allocations: 40.7 kB / 434.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007814/0.2729, allocations: 478.9 kB / 435.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.2729, allocations: 4.875 kB / 435.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.2729, allocations: 16.5 kB / 435.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2729, allocations: 9.219 kB / 435.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.2737, allocations: 342.4 kB / 435.4 MB, free: 13.01 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.00162/0.2753, allocations: 1.708 MB / 437.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.276, allocations: 276.2 kB / 437.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.2761, allocations: 109.2 kB / 437.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05602/0.3322, allocations: 17.53 MB / 455 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.3322, allocations: 46.83 kB / 455.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.3322, allocations: 4 kB / 455.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.004697/0.3369, allocations: 1.415 MB / 456.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.337, allocations: 59.27 kB / 456.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.3374, allocations: 367.4 kB / 456.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.3374, allocations: 33.69 kB / 457 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.3376, allocations: 279.3 kB / 457.2 MB, free: 14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.3378, allocations: 138.8 kB / 457.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.3379, allocations: 86.53 kB / 457.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003113/0.3382, allocations: 0.5313 MB / 458 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.3385, allocations: 127.6 kB / 458.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.3389, allocations: 194.7 kB / 458.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/0.3397, allocations: 335.4 kB / 458.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3397, allocations: 4 kB / 458.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001129/0.3409, allocations: 479.2 kB / 459.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3409, allocations: 8 kB / 459.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3409, allocations: 0 / 459.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.3414, allocations: 106.3 kB / 459.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.3418, allocations: 83.14 kB / 459.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3432, allocations: 1.659 MB / 461 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3435, allocations: 15.94 kB / 461 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.3435, allocations: 16 kB / 461 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004018/0.3439, allocations: 267.8 kB / 461.2 MB, free: 9.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000315/0.3442, allocations: 185.9 kB / 461.4 MB, free: 9.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005736/0.3448, allocations: 321.4 kB / 461.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3448, allocations: 0 / 461.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00103/0.3458, allocations: 457.9 kB / 462.2 MB, free: 8.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.3458, allocations: 8.031 kB / 462.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/0.3458, allocations: 0 / 462.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/0.3463, allocations: 99.3 kB / 462.3 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.3467, allocations: 77.95 kB / 462.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.348, allocations: 1.661 MB / 464 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.3482, allocations: 12 kB / 464 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.3482, allocations: 10.94 kB / 464 MB, free: 6.949 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.0002396/0.3485, allocations: 294.2 kB / 464.3 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3486, allocations: 55.88 kB / 464.4 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.3501, allocations: 0.7283 MB / 465.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.3501, allocations: 15.92 kB / 465.1 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3501, allocations: 0 / 465.1 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3501, allocations: 0 / 465.1 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006965/0.3508, allocations: 477.1 kB / 465.6 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3508, allocations: 3.984 kB / 465.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.3512, allocations: 75.53 kB / 465.7 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008395/0.352, allocations: 107.2 kB / 465.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.3521, allocations: 16 kB / 465.8 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.3534, allocations: 1.655 MB / 467.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3534, allocations: 0 / 467.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.3551, allocations: 0.9387 MB / 468.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.3553, allocations: 71.61 kB / 468.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.3554, allocations: 8 kB / 468.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3556, allocations: 12 kB / 468.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3557, allocations: 35.88 kB / 468.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.3557, allocations: 11.98 kB / 468.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002554/0.3559, allocations: 247 kB / 468.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3559, allocations: 0 / 468.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00285/0.3588, allocations: 0.9516 MB / 469.7 MB, free: 1.152 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.003676/0.3625, allocations: 1.093 MB / 470.8 MB, free: 144 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.3642, allocations: 0.63 MB / 471.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.3642, allocations: 0 / 471.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.3649, allocations: 272.1 kB / 471.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.3661, allocations: 202.1 kB / 471.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.3683, allocations: 1.065 MB / 473 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.3689, allocations: 237.6 kB / 473.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006752/0.3695, allocations: 345 kB / 473.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.3696, allocations: 40.5 kB / 473.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3696, allocations: 3.938 kB / 473.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Templates: time 0.06017/0.4298, allocations: 36.41 MB / 0.498 GB, free: 9.156 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: 7.314242028980516]