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.001768/0.001768, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001496/0.001496, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9355/0.9355, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.188/0.188, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.713e-06/1.713e-06, allocations: 0 / 354.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.596e-05, allocations: 5.688 kB / 354.3 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.02892/0.02894, allocations: 19.53 MB / 373.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008738/0.03768, allocations: 8.043 MB / 381.9 MB, free: 7.453 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.03812, allocations: 11.88 kB / 381.9 MB, free: 7.441 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.03857, allocations: 131 kB / 382 MB, free: 7.312 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005391/0.03911, allocations: 313.7 kB / 382.3 MB, free: 7.004 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009699/0.04881, allocations: 4.53 MB / 386.8 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009204/0.04973, allocations: 0.7968 MB / 387.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.05007, allocations: 220.3 kB / 387.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004098/0.05048, allocations: 391 kB / 388.2 MB, free: 1.055 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.05077, allocations: 247.2 kB / 388.5 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.05081, allocations: 28 kB / 388.5 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00781/0.05862, allocations: 5.806 MB / 394.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.05873, allocations: 79.61 kB / 394.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.05896, allocations: 171.6 kB / 394.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008783/0.06774, allocations: 4.474 MB / 399 MB, free: 6.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.06775, allocations: 0 / 399 MB, free: 6.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06775, allocations: 0 / 399 MB, free: 6.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.06775, allocations: 3.984 kB / 399 MB, free: 6.238 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.002403/0.07016, allocations: 1.19 MB / 400.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.0702, allocations: 8.031 kB / 400.2 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.07043, allocations: 120.5 kB / 400.3 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.07077, allocations: 334.6 kB / 400.7 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.07079, allocations: 21.03 kB / 400.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.07082, allocations: 28.38 kB / 400.7 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.07124, allocations: 345.9 kB / 401 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.07125, allocations: 192 / 401 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.07127, allocations: 23.86 kB / 401.1 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.07127, allocations: 12 kB / 401.1 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.07148, allocations: 139.2 kB / 401.2 MB, free: 3.93 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.001177/0.07266, allocations: 1.5 MB / 402.7 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.07287, allocations: 114.9 kB / 402.8 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.07291, allocations: 39.66 kB / 402.9 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02528/0.09819, allocations: 14.69 MB / 417.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.09822, allocations: 45.31 kB / 417.6 MB, free: 3.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.816e-06/0.09822, allocations: 0 / 417.6 MB, free: 3.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001489/0.09971, allocations: 424.1 kB / 418 MB, free: 3.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.09974, allocations: 59.41 kB / 418.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.09996, allocations: 358.5 kB / 418.4 MB, free: 2.578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.09998, allocations: 33.7 kB / 418.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1001, allocations: 283.1 kB / 418.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.1001, allocations: 51.52 kB / 418.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.1002, allocations: 55.33 kB / 418.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1003, allocations: 0.5117 MB / 419.4 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.1004, allocations: 35.66 kB / 419.4 MB, free: 1.578 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.1005, allocations: 82.33 kB / 419.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1006, allocations: 125.3 kB / 419.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1006, allocations: 0 / 419.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002823/0.1009, allocations: 197 kB / 419.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1009, allocations: 8 kB / 419.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1009, allocations: 3.938 kB / 419.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.1019, allocations: 315.4 kB / 420.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.102, allocations: 43.95 kB / 420.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005102/0.1025, allocations: 0.8779 MB / 421 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1027, allocations: 15.91 kB / 421 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1027, allocations: 11.98 kB / 421 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001007/0.1028, allocations: 154.8 kB / 421.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.075e-05/0.1028, allocations: 101.5 kB / 421.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000105/0.103, allocations: 137.1 kB / 421.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.103, allocations: 0 / 421.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0003002/0.1033, allocations: 227.3 kB / 421.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.1033, allocations: 8 kB / 421.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.1033, allocations: 0 / 421.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.1035, allocations: 83.83 kB / 421.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1036, allocations: 59.89 kB / 421.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009818/0.1046, allocations: 1.831 MB / 423.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1047, allocations: 19.94 kB / 423.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1047, allocations: 4 kB / 423.7 MB, free: 13.02 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 (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 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.000113/0.1048, allocations: 280 kB / 423.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1049, allocations: 39.77 kB / 424 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.1053, allocations: 0.5182 MB / 424.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.1053, allocations: 7.984 kB / 424.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1053, allocations: 3.938 kB / 424.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1054, allocations: 0 / 424.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.1057, allocations: 318.3 kB / 424.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.1057, allocations: 3.984 kB / 424.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.009e-05/0.1057, allocations: 16 kB / 424.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.1068, allocations: 428.1 kB / 425.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1068, allocations: 4 kB / 425.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004805/0.1073, allocations: 1.051 MB / 426.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1073, allocations: 3.984 kB / 426.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.1077, allocations: 0.5536 MB / 426.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.1077, allocations: 51.53 kB / 426.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1077, allocations: 7.938 kB / 426.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.1078, allocations: 11.94 kB / 426.9 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1079, allocations: 19.95 kB / 427 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.1079, allocations: 4 kB / 427 MB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.108, allocations: 271 kB / 427.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.108, allocations: 0 / 427.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002213/0.1102, allocations: 0.9668 MB / 428.2 MB, free: 8.383 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.002385/0.1126, allocations: 1.103 MB / 429.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.1132, allocations: 400.5 kB / 429.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1132, allocations: 0 / 429.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1134, allocations: 113.8 kB / 429.8 MB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.1139, allocations: 157.4 kB / 429.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1151, allocations: 0.828 MB / 430.8 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.077e-05/0.1151, allocations: 117.6 kB / 430.9 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.1154, allocations: 162.6 kB / 431 MB, free: 5.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.1155, allocations: 154.1 kB / 431.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1155, allocations: 0 / 431.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of Templates: time 0.1593/0.2748, allocations: 39.26 MB / 470.5 MB, free: 79.1 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.229667090810835]