Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") translateModel(Annex60.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008957/0.000896, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001008/0.001008, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.4 MB / 222.1 MB, free: 5.312 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4589/0.4589, allocations: 55.02 MB / 325.4 MB, free: 0.9531 MB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005945/0.0005949, allocations: 15.98 kB / 396.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4789, allocations: 60.72 MB / 457.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example3): time 0.02397/0.5029, allocations: 29.96 MB / 487.3 MB, free: 20.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.5186, allocations: 11.8 MB / 499.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.5204, allocations: 40.69 kB / 499.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.5224, allocations: 0.5033 MB / 499.7 MB, free: 12.17 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003813/0.5262, allocations: 1.247 MB / 0.4892 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.5298, allocations: 1.059 MB / 0.4902 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00785/0.5377, allocations: 5.436 MB / 0.4955 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003631/0.5413, allocations: 1.557 MB / 0.497 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.547, allocations: 1.511 MB / 0.4985 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/0.5511, allocations: 1.312 MB / 0.4998 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000356/0.5515, allocations: 70.84 kB / 0.4999 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003195/0.5547, allocations: 0.8915 MB / 0.5007 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005448/0.5552, allocations: 391.8 kB / 0.5011 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000843/0.5561, allocations: 400.6 kB / 0.5015 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00364/0.5597, allocations: 2.188 MB / 0.5036 GB, free: 6.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5597, allocations: 0 / 0.5036 GB, free: 6.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5597, allocations: 0 / 0.5036 GB, free: 6.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.318e-05/0.5598, allocations: 0 / 0.5036 GB, free: 6.027 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003992/0.5638, allocations: 2.066 MB / 0.5056 GB, free: 4.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.5638, allocations: 12.91 kB / 0.5056 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.5651, allocations: 313.1 kB / 0.5059 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.5682, allocations: 1.556 MB / 0.5075 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/0.5683, allocations: 88.25 kB / 0.5076 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.5685, allocations: 105.3 kB / 0.5077 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005772/0.5742, allocations: 2.218 MB / 0.5098 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.5743, allocations: 5.703 kB / 0.5098 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.5744, allocations: 43.28 kB / 0.5099 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.5745, allocations: 28.84 kB / 0.5099 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005453/0.5799, allocations: 1.922 MB / 0.5118 GB, free: 1.859 MB / 382.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.01068/0.5906, allocations: 7.338 MB / 0.5189 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005451/0.5961, allocations: 1.498 MB / 0.5204 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.5972, allocations: 421.4 kB / 0.5208 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004229/0.6014, allocations: 1.568 MB / 0.5223 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003921/0.6053, allocations: 1.267 MB / 0.5236 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008402/0.6062, allocations: 99.31 kB / 0.5237 GB, free: 7.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.605e-06/0.6062, allocations: 7.938 kB / 0.5237 GB, free: 7.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.02249/0.6287, allocations: 6.925 MB / 0.5304 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.6289, allocations: 137 kB / 0.5306 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/0.632, allocations: 1.83 MB / 0.5324 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.6323, allocations: 49.7 kB / 0.5324 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.6333, allocations: 0.8734 MB / 0.5333 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.6336, allocations: 181.5 kB / 0.5334 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.6336, allocations: 16 kB / 0.5334 GB, free: 13.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6338, allocations: 337.9 kB / 0.5338 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.6356, allocations: 0.6849 MB / 0.5344 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.6377, allocations: 1.195 MB / 0.5356 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.6395, allocations: 0.7765 MB / 0.5364 GB, free: 10.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.6395, allocations: 0 / 0.5364 GB, free: 10.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01247/0.652, allocations: 3.925 MB / 0.5402 GB, free: 6.422 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005012/0.6526, allocations: 458.8 kB / 0.5406 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.6526, allocations: 11.94 kB / 0.5406 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002619/0.6552, allocations: 1.003 MB / 0.5416 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/0.6562, allocations: 199.7 kB / 0.5418 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/0.6782, allocations: 8.683 MB / 0.5503 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.6812, allocations: 259.5 kB / 0.5505 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.6814, allocations: 51.97 kB / 0.5506 GB, free: 11.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6815, allocations: 4 kB / 0.5506 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002306/0.6838, allocations: 1.1 MB / 0.5517 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.6838, allocations: 8.844 kB / 0.5517 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/0.6842, allocations: 164.9 kB / 0.5518 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.6849, allocations: 175.7 kB / 0.552 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/0.6881, allocations: 2.36 MB / 0.5543 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.6899, allocations: 111.8 kB / 0.5544 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/0.69, allocations: 51.88 kB / 0.5545 GB, free: 7.375 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 92 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.6914, allocations: 0.5825 MB / 0.555 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.6918, allocations: 181.8 kB / 0.5552 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009311/0.7011, allocations: 3.1 MB / 0.5582 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.7012, allocations: 11.98 kB / 0.5582 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7012, allocations: 2.062 kB / 0.5582 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008663/0.7099, allocations: 3.041 MB / 0.5612 GB, free: 364 kB / 430.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 postOpt removeSimpleEquations (simulation): time 0.01313/0.7231, allocations: 4.543 MB / 0.5656 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.7231, allocations: 0 / 0.5656 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.7237, allocations: 103.9 kB / 0.5657 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/0.7261, allocations: 0.9918 MB / 0.5667 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.7262, allocations: 23.97 kB / 0.5667 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01945/0.7457, allocations: 8.097 MB / 0.5746 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7457, allocations: 0 / 0.5746 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.7571, allocations: 3.935 MB / 0.5785 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.7585, allocations: 366.7 kB / 0.5788 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.7588, allocations: 12 kB / 0.5788 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.7603, allocations: 251.6 kB / 0.5791 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.7606, allocations: 60.45 kB / 0.5791 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/0.7607, allocations: 31.91 kB / 0.5792 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002445/0.7631, allocations: 1.262 MB / 0.5804 GB, free: 12.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7632, allocations: 0 / 0.5804 GB, free: 12.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003789/0.767, allocations: 0.8867 MB / 0.5813 GB, free: 11.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.768, allocations: 362.2 kB / 0.5816 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00653/0.7746, allocations: 2.686 MB / 0.5842 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7746, allocations: 0 / 0.5842 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.7774, allocations: 1.103 MB / 0.5853 GB, free: 7.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004589/0.782, allocations: 0.8678 MB / 0.5862 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/0.789, allocations: 3.853 MB / 0.5899 GB, free: 2.555 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.7901, allocations: 1.497 MB / 0.5914 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002004/0.7922, allocations: 446.3 kB / 0.5918 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.7925, allocations: 131.4 kB / 0.5919 GB, free: 472 kB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7925, allocations: 0 / 0.5919 GB, free: 472 kB / 462.1 MB Notification: Performance of Templates: time 0.07015/0.8627, allocations: 41.01 MB / 0.632 GB, free: 7.691 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: