Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 104.6 kB / 17.69 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 192.1 kB / 18.63 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3008/0.3008, allocations: 48.85 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.86 kB / 391.5 MB, free: 48.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 59.17 MB / 450.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.05184/0.1688, allocations: 56.13 MB / 0.495 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.1814, allocations: 10.7 MB / 0.5054 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/0.1821, allocations: 11.94 kB / 0.5054 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009163/0.183, allocations: 274.1 kB / 0.5057 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006529/0.1837, allocations: 353.6 kB / 0.506 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01402/0.1978, allocations: 5.009 MB / 0.5109 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.1994, allocations: 0.9576 MB / 0.5118 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.1999, allocations: 332.3 kB / 0.5122 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.2003, allocations: 346.7 kB / 0.5125 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.2007, allocations: 366.4 kB / 0.5128 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.2007, allocations: 36 kB / 0.5129 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.2119, allocations: 6.325 MB / 0.519 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.2121, allocations: 99.55 kB / 0.5191 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.2125, allocations: 278.7 kB / 0.5194 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009182/0.2217, allocations: 3.926 MB / 0.5232 GB, free: 3.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2218, allocations: 0 / 0.5232 GB, free: 3.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2218, allocations: 0 / 0.5232 GB, free: 3.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.2218, allocations: 0 / 0.5232 GB, free: 3.645 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003995/0.2258, allocations: 1.251 MB / 0.5245 GB, free: 2.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.2259, allocations: 8.031 kB / 0.5245 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/0.2264, allocations: 104.2 kB / 0.5246 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.2271, allocations: 383.6 kB / 0.5249 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.2272, allocations: 29.38 kB / 0.525 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.2272, allocations: 44.12 kB / 0.525 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.2288, allocations: 0.6279 MB / 0.5256 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2288, allocations: 0 / 0.5256 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.2288, allocations: 19.94 kB / 0.5256 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2289, allocations: 8 kB / 0.5256 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.2302, allocations: 0.4957 MB / 0.5261 GB, free: 0.5664 MB / 414.1 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.2414/0.4717, allocations: 2.499 MB / 0.5286 GB, free: 84.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.473, allocations: 0.5602 MB / 0.5291 GB, free: 84.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.4733, allocations: 138.7 kB / 0.5292 GB, free: 84.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0639/0.5372, allocations: 32.12 MB / 0.5606 GB, free: 61.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.5373, allocations: 37.78 kB / 0.5607 GB, free: 61.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 3.908e-06/0.5373, allocations: 0 / 0.5607 GB, free: 61.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.005778/0.5431, allocations: 1.756 MB / 0.5624 GB, free: 61.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.5432, allocations: 106.8 kB / 0.5625 GB, free: 60.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.5436, allocations: 366.6 kB / 0.5628 GB, free: 60.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.5436, allocations: 29.7 kB / 0.5628 GB, free: 60.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.5438, allocations: 239 kB / 0.5631 GB, free: 60.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.5439, allocations: 113.5 kB / 0.5632 GB, free: 60.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.544, allocations: 93.06 kB / 0.5633 GB, free: 60.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.5441, allocations: 346.5 kB / 0.5636 GB, free: 59.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.5444, allocations: 175.6 kB / 0.5638 GB, free: 59.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.5448, allocations: 232.4 kB / 0.564 GB, free: 59.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/0.5454, allocations: 387.2 kB / 0.5644 GB, free: 59.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5455, allocations: 0 / 0.5644 GB, free: 59.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001794/0.5473, allocations: 0.7547 MB / 0.5651 GB, free: 59.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5473, allocations: 4.969 kB / 0.5651 GB, free: 59.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5473, allocations: 3.969 kB / 0.5651 GB, free: 59.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/0.5494, allocations: 0.5261 MB / 0.5656 GB, free: 58.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.5496, allocations: 37.83 kB / 0.5657 GB, free: 58.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.5509, allocations: 0.9843 MB / 0.5666 GB, free: 58.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.5513, allocations: 15.73 kB / 0.5666 GB, free: 58.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.5514, allocations: 25.52 kB / 0.5667 GB, free: 58.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003932/0.5518, allocations: 270.2 kB / 0.5669 GB, free: 57.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002886/0.5521, allocations: 222.1 kB / 0.5671 GB, free: 57.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00058/0.5526, allocations: 382 kB / 0.5675 GB, free: 57.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.5527, allocations: 4 kB / 0.5675 GB, free: 57.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001432/0.5541, allocations: 0.6754 MB / 0.5682 GB, free: 56.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5541, allocations: 9.031 kB / 0.5682 GB, free: 56.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.5541, allocations: 4 kB / 0.5682 GB, free: 56.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.5555, allocations: 469.3 kB / 0.5686 GB, free: 56.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.5557, allocations: 41.98 kB / 0.5687 GB, free: 56.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.5571, allocations: 0.9405 MB / 0.5696 GB, free: 55.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.5575, allocations: 12 kB / 0.5696 GB, free: 55.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.5575, allocations: 30.58 kB / 0.5696 GB, free: 55.24 MB / 414.1 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 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.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): 19 * 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 {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.5577, allocations: 195.4 kB / 0.5698 GB, free: 55.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5579, allocations: 51.38 kB / 0.5698 GB, free: 55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.5609, allocations: 2.998 MB / 0.5728 GB, free: 52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5609, allocations: 3.984 kB / 0.5728 GB, free: 52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.561, allocations: 4 kB / 0.5728 GB, free: 52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.5611, allocations: 124 kB / 0.5729 GB, free: 51.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.5612, allocations: 12 kB / 0.5729 GB, free: 51.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.5615, allocations: 19.95 kB / 0.5729 GB, free: 51.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5616, allocations: 27.91 kB / 0.573 GB, free: 51.8 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001642/0.5633, allocations: 0.7144 MB / 0.5737 GB, free: 51.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001109/0.5644, allocations: 1.009 MB / 0.5746 GB, free: 50.05 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003423/0.5647, allocations: 264.5 kB / 0.5749 GB, free: 49.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002398/0.565, allocations: 247.2 kB / 0.5751 GB, free: 49.55 MB / 414.1 MB Notification: Performance of Backend: time 2.104e-06/0.565, allocations: 0 / 0.5751 GB, free: 49.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007905/0.5729, allocations: 1.774 MB / 0.5769 GB, free: 48 MB / 414.1 MB Notification: Performance of SimCode: time 0.002472/0.5754, allocations: 1.671 MB / 0.5785 GB, free: 46.34 MB / 414.1 MB Notification: Performance of Templates: time 0.04961/0.6251, allocations: 43.94 MB / 0.6214 GB, free: 2.449 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1)