Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.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.0009067/0.0009067, allocations: 77.97 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.0009111/0.0009111, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9456/0.9456, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.1223/0.1223, allocations: 19.75 MB / 281.6 MB, free: 9.109 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 358.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.288e-05, allocations: 9.766 kB / 358.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.02893/0.02896, allocations: 24.52 MB / 383 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.03967, allocations: 8.378 MB / 391.3 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.04007, allocations: 19.81 kB / 391.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.04052, allocations: 162.6 kB / 391.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000515/0.04103, allocations: 325.5 kB / 391.8 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.05195, allocations: 5.109 MB / 396.9 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.05306, allocations: 0.9261 MB / 397.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.05351, allocations: 253.8 kB / 398.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008573/0.05436, allocations: 0.5296 MB / 398.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.05469, allocations: 271.2 kB / 398.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/0.05474, allocations: 32 kB / 398.9 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008576/0.06331, allocations: 5.833 MB / 404.8 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.06346, allocations: 99.53 kB / 404.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.06373, allocations: 183.5 kB / 405.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008021/0.07175, allocations: 4.552 MB / 409.6 MB, free: 2.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.07176, allocations: 0 / 409.6 MB, free: 2.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.07176, allocations: 0 / 409.6 MB, free: 2.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.07177, allocations: 0 / 409.6 MB, free: 2.957 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002621/0.07439, allocations: 1.311 MB / 410.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.07443, allocations: 8.031 kB / 410.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.07475, allocations: 140.4 kB / 411.1 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.07516, allocations: 369.1 kB / 411.4 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.414e-05/0.07526, allocations: 148 kB / 411.6 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.07529, allocations: 32.38 kB / 411.6 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.07585, allocations: 405.9 kB / 412 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.07586, allocations: 15.86 kB / 412 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.07588, allocations: 12 kB / 412 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.07589, allocations: 12 kB / 412 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.07625, allocations: 249.2 kB / 412.3 MB, free: 164 kB / 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.1395/0.2158, allocations: 1.461 MB / 413.7 MB, free: 40.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009844/0.2167, allocations: 306.8 kB / 414 MB, free: 40.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2168, allocations: 63.34 kB / 414.1 MB, free: 40.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.2171, allocations: 42.44 kB / 414.1 MB, free: 40.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.2171, allocations: 38.27 kB / 414.2 MB, free: 40.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.517e-06/0.2171, allocations: 1.219 kB / 414.2 MB, free: 40.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009832/0.2181, allocations: 351.4 kB / 414.5 MB, free: 40.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.2182, allocations: 80.44 kB / 414.6 MB, free: 40.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.2185, allocations: 397.9 kB / 415 MB, free: 40.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2185, allocations: 27.45 kB / 415 MB, free: 40.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2186, allocations: 299.8 kB / 415.3 MB, free: 39.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.2187, allocations: 87.73 kB / 415.4 MB, free: 39.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2188, allocations: 63.45 kB / 415.5 MB, free: 39.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.2189, allocations: 0.5227 MB / 416 MB, free: 39.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.219, allocations: 48.09 kB / 416 MB, free: 39.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.2191, allocations: 103.7 kB / 416.1 MB, free: 39.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.2193, allocations: 141.5 kB / 416.3 MB, free: 39.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2193, allocations: 0 / 416.3 MB, free: 39.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003897/0.2197, allocations: 217.8 kB / 416.5 MB, free: 39.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2197, allocations: 5.375 kB / 416.5 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2197, allocations: 3.875 kB / 416.5 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.2198, allocations: 2.656 kB / 416.5 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.22, allocations: 68.17 kB / 416.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.22, allocations: 1.406 kB / 416.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.2202, allocations: 31.11 kB / 416.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.2202, allocations: 13.12 kB / 416.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001374/0.2204, allocations: 165.6 kB / 416.8 MB, free: 39.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001086/0.2205, allocations: 97.11 kB / 416.9 MB, free: 38.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001843/0.2206, allocations: 137.8 kB / 417 MB, free: 38.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.2207, allocations: 3.344 kB / 417 MB, free: 38.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003587/0.221, allocations: 209.2 kB / 417.2 MB, free: 38.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.221, allocations: 6.828 kB / 417.2 MB, free: 38.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.221, allocations: 1.531 kB / 417.2 MB, free: 38.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.221, allocations: 4.016 kB / 417.2 MB, free: 38.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2213, allocations: 66.8 kB / 417.3 MB, free: 38.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2213, allocations: 2.297 kB / 417.3 MB, free: 38.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.2214, allocations: 28.03 kB / 417.3 MB, free: 38.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.2215, allocations: 10.84 kB / 417.3 MB, free: 38.82 MB / 330.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: 2 (ValveLiqChocked.fluidState.phase,ValveVap.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.476e-05/0.2216, allocations: 290.2 kB / 417.6 MB, free: 38.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.2216, allocations: 51.03 kB / 417.7 MB, free: 38.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.222, allocations: 204.2 kB / 417.9 MB, free: 38.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.222, allocations: 4.781 kB / 417.9 MB, free: 38.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.222, allocations: 0 / 417.9 MB, free: 38.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.222, allocations: 7.188 kB / 417.9 MB, free: 38.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.2224, allocations: 240.1 kB / 418.1 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2224, allocations: 9.344 kB / 418.1 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.2226, allocations: 55.81 kB / 418.2 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2226, allocations: 2.031 kB / 418.2 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2226, allocations: 8.281 kB / 418.2 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.2227, allocations: 1.891 kB / 418.2 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2227, allocations: 0 / 418.2 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.223, allocations: 462.9 kB / 418.6 MB, free: 38.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.2231, allocations: 44.55 kB / 418.7 MB, free: 38.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.2231, allocations: 8.219 kB / 418.7 MB, free: 38.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.2233, allocations: 17.33 kB / 418.7 MB, free: 38.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.2234, allocations: 24.44 kB / 418.7 MB, free: 38.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.2234, allocations: 6.922 kB / 418.7 MB, free: 38.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.2235, allocations: 257.7 kB / 419 MB, free: 37.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2235, allocations: 0 / 419 MB, free: 37.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002567/0.2261, allocations: 0.9831 MB / 420 MB, free: 37.87 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (ValveLiqChocked.fluidState.phase,ValveVap.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002833/0.2289, allocations: 1.111 MB / 421.1 MB, free: 37.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004462/0.2294, allocations: 222.4 kB / 421.3 MB, free: 37.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2294, allocations: 0 / 421.3 MB, free: 37.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.2295, allocations: 80.12 kB / 421.4 MB, free: 37.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.2315, allocations: 217.4 kB / 421.6 MB, free: 37.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.2336, allocations: 0.7639 MB / 422.3 MB, free: 37.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.555e-05/0.2337, allocations: 104.9 kB / 422.4 MB, free: 37.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007656/0.2344, allocations: 456.3 kB / 422.9 MB, free: 37.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.2348, allocations: 197 kB / 423.1 MB, free: 37.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2348, allocations: 0 / 423.1 MB, free: 37.14 MB / 330.7 MB Notification: Performance of Templates: time 0.03881/0.2736, allocations: 39.35 MB / 462.4 MB, free: 8.02 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.437161485198885]