Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.1 MB / 223.1 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009984/0.0009984, allocations: 101.5 kB / 270.5 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.372/0.372, allocations: 48.84 MB / 366.7 MB, free: 46.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 55.92 kB / 436.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09861, allocations: 59.15 MB / 495.8 MB, free: 136 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2048/0.3034, allocations: 45.3 MB / 0.5284 GB, free: 34.28 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00981/0.3133, allocations: 10.03 MB / 0.5382 GB, free: 27.4 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.3139, allocations: 14.72 kB / 0.5382 GB, free: 27.39 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.3145, allocations: 173.2 kB / 0.5383 GB, free: 27.29 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005488/0.3151, allocations: 264.9 kB / 0.5386 GB, free: 27.12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.3258, allocations: 4.075 MB / 0.5426 GB, free: 25.27 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.3269, allocations: 1.04 MB / 0.5436 GB, free: 24.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.3273, allocations: 216.8 kB / 0.5438 GB, free: 24.79 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.3278, allocations: 380.2 kB / 0.5442 GB, free: 24.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.3281, allocations: 293.7 kB / 0.5444 GB, free: 24.5 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.3282, allocations: 19.66 kB / 0.5445 GB, free: 24.5 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009944/0.3381, allocations: 6.083 MB / 0.5504 GB, free: 22.71 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3383, allocations: 72.98 kB / 0.5505 GB, free: 22.65 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.3385, allocations: 226.5 kB / 0.5507 GB, free: 22.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006713/0.3453, allocations: 3.707 MB / 0.5543 GB, free: 20.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3453, allocations: 0 / 0.5543 GB, free: 20.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3453, allocations: 1.125 kB / 0.5543 GB, free: 20.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3453, allocations: 3.938 kB / 0.5543 GB, free: 20.14 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003221/0.3486, allocations: 1.18 MB / 0.5555 GB, free: 19.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3486, allocations: 9.094 kB / 0.5555 GB, free: 19.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.3488, allocations: 71.2 kB / 0.5555 GB, free: 19.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.3492, allocations: 370.4 kB / 0.5559 GB, free: 18.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3493, allocations: 25.38 kB / 0.5559 GB, free: 18.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.3493, allocations: 32.66 kB / 0.5559 GB, free: 18.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.3502, allocations: 432.4 kB / 0.5564 GB, free: 18.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3502, allocations: 1.219 kB / 0.5564 GB, free: 18.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3502, allocations: 11.53 kB / 0.5564 GB, free: 18.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3502, allocations: 9.734 kB / 0.5564 GB, free: 18.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3514, allocations: 375.1 kB / 0.5567 GB, free: 18.38 MB / 394.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.00178/0.3532, allocations: 2.123 MB / 0.5588 GB, free: 16.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.3543, allocations: 301.7 kB / 0.5591 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.3547, allocations: 120 kB / 0.5592 GB, free: 16.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06258/0.4173, allocations: 32.09 MB / 0.5906 GB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.4174, allocations: 43.05 kB / 0.5906 GB, free: 2.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.4174, allocations: 0 / 0.5906 GB, free: 2.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001738/0.4191, allocations: 415.1 kB / 0.591 GB, free: 1.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4192, allocations: 89.09 kB / 0.5911 GB, free: 1.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.4197, allocations: 434 kB / 0.5915 GB, free: 1.281 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4197, allocations: 29.7 kB / 0.5915 GB, free: 1.246 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.4199, allocations: 228.1 kB / 0.5917 GB, free: 1.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.42, allocations: 59.19 kB / 0.5918 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/0.4201, allocations: 57.62 kB / 0.5918 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4202, allocations: 354.7 kB / 0.5922 GB, free: 0.543 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.4206, allocations: 104.7 kB / 0.5923 GB, free: 448 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.421, allocations: 157.2 kB / 0.5924 GB, free: 264 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.4218, allocations: 268.4 kB / 0.5927 GB, free: 15.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4218, allocations: 0 / 0.5927 GB, free: 15.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009708/0.4228, allocations: 328.9 kB / 0.593 GB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4228, allocations: 4 kB / 0.593 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4228, allocations: 4 kB / 0.593 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4229, allocations: 4 kB / 0.593 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.4232, allocations: 60.02 kB / 0.5931 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4233, allocations: 13.75 kB / 0.5931 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.4237, allocations: 55.56 kB / 0.5931 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.4237, allocations: 15.92 kB / 0.5932 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004499/0.4242, allocations: 200.1 kB / 0.5933 GB, free: 15.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004027/0.4246, allocations: 158.2 kB / 0.5935 GB, free: 15.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007248/0.4253, allocations: 250.9 kB / 0.5937 GB, free: 14.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.105e-06/0.4254, allocations: 4 kB / 0.5937 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0009013/0.4263, allocations: 313.8 kB / 0.594 GB, free: 14.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.4263, allocations: 8 kB / 0.594 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.4263, allocations: 0 / 0.594 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.89e-06/0.4263, allocations: 4 kB / 0.5941 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.4266, allocations: 72.11 kB / 0.5941 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4266, allocations: 4 kB / 0.5941 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.427, allocations: 40 kB / 0.5942 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.4271, allocations: 15.92 kB / 0.5942 GB, free: 14.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001232/0.4272, allocations: 205 kB / 0.5944 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.549e-05/0.4273, allocations: 53.72 kB / 0.5944 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.4284, allocations: 443.6 kB / 0.5948 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4284, allocations: 4 kB / 0.5948 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4284, allocations: 0 / 0.5948 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4284, allocations: 0 / 0.5948 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.429, allocations: 461.4 kB / 0.5953 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.429, allocations: 4 kB / 0.5953 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.4293, allocations: 53.33 kB / 0.5953 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4293, allocations: 0 / 0.5953 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4293, allocations: 7.984 kB / 0.5954 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4293, allocations: 4 kB / 0.5954 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4293, allocations: 0 / 0.5954 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.431, allocations: 1.214 MB / 0.5965 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.4311, allocations: 128.5 kB / 0.5967 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.4312, allocations: 23.72 kB / 0.5967 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.4316, allocations: 35.88 kB / 0.5967 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.4317, allocations: 7.984 kB / 0.5967 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4317, allocations: 11.98 kB / 0.5967 GB, free: 11.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004337/0.4321, allocations: 406.8 kB / 0.5971 GB, free: 11.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4321, allocations: 0 / 0.5971 GB, free: 11.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003354/0.4355, allocations: 0.9603 MB / 0.5981 GB, free: 10.25 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.004234/0.4397, allocations: 0.9812 MB / 0.599 GB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.4411, allocations: 351.6 kB / 0.5994 GB, free: 8.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4411, allocations: 0.9375 kB / 0.5994 GB, free: 8.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.4415, allocations: 123.8 kB / 0.5995 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.443, allocations: 224.8 kB / 0.5997 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.4446, allocations: 1.061 MB / 0.6007 GB, free: 7.488 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.445, allocations: 0.8425 MB / 0.6016 GB, free: 6.621 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.4454, allocations: 166 kB / 0.6017 GB, free: 6.465 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.4455, allocations: 39.42 kB / 0.6017 GB, free: 6.426 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4455, allocations: 0 / 0.6017 GB, free: 6.426 MB / 426.7 MB Notification: Performance of Templates: time 0.04301/0.4885, allocations: 34.25 MB / 0.6352 GB, free: 4.191 MB / 458.7 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)