Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001736/0.001736, allocations: 186.5 kB / 17.27 MB, free: 4.48 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.278/1.278, allocations: 205.1 MB / 223.1 MB, free: 8.477 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.0009848/0.0009847, allocations: 102.3 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.3829/0.3829, allocations: 48.83 MB / 366.7 MB, free: 46.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 55.92 kB / 436.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1039, allocations: 59.15 MB / 495.8 MB, free: 136 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.2307/0.3347, allocations: 73.54 MB / 0.556 GB, free: 13.93 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3464, allocations: 11.68 MB / 0.5674 GB, free: 5.824 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006956/0.3471, allocations: 17.91 kB / 0.5674 GB, free: 5.816 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007808/0.3479, allocations: 282.2 kB / 0.5676 GB, free: 5.656 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006738/0.3486, allocations: 421.4 kB / 0.568 GB, free: 5.402 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.3601, allocations: 4.331 MB / 0.5723 GB, free: 2.344 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.3617, allocations: 1.686 MB / 0.5739 GB, free: 1.438 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.3622, allocations: 339.6 kB / 0.5742 GB, free: 1.242 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.3626, allocations: 395.2 kB / 0.5746 GB, free: 1.059 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.3631, allocations: 450.2 kB / 0.5751 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.3631, allocations: 29.12 kB / 0.5751 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.3737, allocations: 6.27 MB / 0.5812 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.3739, allocations: 94.88 kB / 0.5813 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005263/0.3744, allocations: 327 kB / 0.5816 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007267/0.3817, allocations: 4.008 MB / 0.5855 GB, free: 10.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3817, allocations: 0 / 0.5855 GB, free: 10.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3817, allocations: 2.938 kB / 0.5855 GB, free: 10.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.3818, allocations: 0 / 0.5855 GB, free: 10.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00323/0.385, allocations: 1.344 MB / 0.5868 GB, free: 9.828 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.385, allocations: 9.469 kB / 0.5868 GB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005285/0.3856, allocations: 117.3 kB / 0.587 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.3862, allocations: 422.2 kB / 0.5874 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.3863, allocations: 40.75 kB / 0.5874 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.3863, allocations: 51.94 kB / 0.5874 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.3878, allocations: 0.6867 MB / 0.5881 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3879, allocations: 3.984 kB / 0.5881 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.3879, allocations: 16 kB / 0.5881 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3879, allocations: 12 kB / 0.5881 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.3893, allocations: 0.5269 MB / 0.5887 GB, free: 8.18 MB / 410.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.0025/0.3918, allocations: 2.656 MB / 0.5913 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.3931, allocations: 0.5615 MB / 0.5918 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.3934, allocations: 128.8 kB / 0.5919 GB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06493/0.4583, allocations: 31.96 MB / 0.6231 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.4584, allocations: 42.5 kB / 0.6232 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.4584, allocations: 7.938 kB / 0.6232 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.005925/0.4643, allocations: 1.84 MB / 0.625 GB, free: 14.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.4644, allocations: 106.8 kB / 0.6251 GB, free: 14.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.4649, allocations: 462.8 kB / 0.6255 GB, free: 14.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.465, allocations: 29.7 kB / 0.6256 GB, free: 14.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.4651, allocations: 276.1 kB / 0.6258 GB, free: 13.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.915e-05/0.4653, allocations: 110.4 kB / 0.6259 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.4654, allocations: 97.56 kB / 0.626 GB, free: 13.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4656, allocations: 370.7 kB / 0.6264 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.4659, allocations: 165.7 kB / 0.6265 GB, free: 13.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.4663, allocations: 222.8 kB / 0.6267 GB, free: 12.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.4669, allocations: 364.9 kB / 0.6271 GB, free: 12.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4669, allocations: 0 / 0.6271 GB, free: 12.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001957/0.4689, allocations: 0.744 MB / 0.6278 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4689, allocations: 4 kB / 0.6278 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4689, allocations: 0 / 0.6278 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/0.4713, allocations: 0.5286 MB / 0.6283 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.4715, allocations: 31.98 kB / 0.6284 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.4732, allocations: 1.503 MB / 0.6298 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.4737, allocations: 51.91 kB / 0.6299 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.4737, allocations: 31.97 kB / 0.6299 GB, free: 9.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004087/0.4741, allocations: 275.8 kB / 0.6302 GB, free: 9.246 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003248/0.4745, allocations: 224.1 kB / 0.6304 GB, free: 9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005852/0.4751, allocations: 370.1 kB / 0.6307 GB, free: 8.617 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.4751, allocations: 3.938 kB / 0.6308 GB, free: 8.613 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001671/0.4768, allocations: 0.6933 MB / 0.6314 GB, free: 7.906 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.4768, allocations: 4 kB / 0.6314 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4768, allocations: 4 kB / 0.6314 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.4783, allocations: 456.6 kB / 0.6319 GB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.4785, allocations: 43.92 kB / 0.6319 GB, free: 7.406 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.4804, allocations: 1.433 MB / 0.6333 GB, free: 5.922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.4808, allocations: 55.86 kB / 0.6334 GB, free: 5.867 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.4808, allocations: 27.98 kB / 0.6334 GB, free: 5.84 MB / 458.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: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.481, allocations: 196.2 kB / 0.6336 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4811, allocations: 59.33 kB / 0.6336 GB, free: 5.582 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.4847, allocations: 3.015 MB / 0.6366 GB, free: 2.559 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.4848, allocations: 11.98 kB / 0.6366 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.4848, allocations: 0 / 0.6366 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4848, allocations: 0 / 0.6366 GB, free: 2.547 MB / 458.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 postOpt removeSimpleEquations (simulation): time 0.004852/0.4897, allocations: 4.514 MB / 0.641 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4897, allocations: 0 / 0.641 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4899, allocations: 52.97 kB / 0.6411 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/0.4926, allocations: 1.201 MB / 0.6422 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.4927, allocations: 11.98 kB / 0.6422 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.4957, allocations: 2.725 MB / 0.6449 GB, free: 9.688 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4958, allocations: 0 / 0.6449 GB, free: 9.688 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3514/0.8472, allocations: 65.69 MB / 0.709 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.8473, allocations: 134.5 kB / 0.7092 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.8474, allocations: 8 kB / 0.7092 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.8478, allocations: 51.78 kB / 0.7092 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.8479, allocations: 33.39 kB / 0.7093 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.8479, allocations: 12.52 kB / 0.7093 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003221/0.8483, allocations: 322.2 kB / 0.7096 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.11e-07/0.8483, allocations: 0 / 0.7096 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01047/0.8588, allocations: 3.425 MB / 0.7129 GB, free: 139.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.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 (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01734/0.8761, allocations: 2.117 MB / 0.715 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002479/0.8786, allocations: 0.7978 MB / 0.7158 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8787, allocations: 1.156 kB / 0.7158 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.8798, allocations: 459.5 kB / 0.7162 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.8816, allocations: 303.9 kB / 0.7165 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.8868, allocations: 2.553 MB / 0.719 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.8872, allocations: 0.9188 MB / 0.7199 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004749/0.8877, allocations: 132.6 kB / 0.72 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.8878, allocations: 46.8 kB / 0.7201 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.8878, allocations: 1.219 kB / 0.7201 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.1457/1.034, allocations: 149.7 MB / 0.8663 GB, free: 7.664 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)