Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 181.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7147/0.7147, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000989/0.0009889, allocations: 97.8 kB / 484.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 63.91 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.143, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02169/0.1647, allocations: 20.76 MB / 0.6604 GB, free: 1.922 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008463/0.1732, allocations: 5.458 MB / 0.6658 GB, free: 12.45 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009686/0.1742, allocations: 19.88 kB / 0.6658 GB, free: 12.43 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1754, allocations: 274.4 kB / 0.6661 GB, free: 12.16 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.1787, allocations: 0.8572 MB / 0.6669 GB, free: 11.3 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.1814, allocations: 0.8091 MB / 0.6677 GB, free: 10.5 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002996/0.1844, allocations: 2.301 MB / 0.6699 GB, free: 8.195 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009147/0.1854, allocations: 449 kB / 0.6704 GB, free: 7.742 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.1868, allocations: 0.6224 MB / 0.671 GB, free: 7.117 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009654/0.1878, allocations: 0.4901 MB / 0.6714 GB, free: 6.625 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.188, allocations: 31.94 kB / 0.6715 GB, free: 6.594 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.1902, allocations: 1.095 MB / 0.6725 GB, free: 5.496 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.1904, allocations: 123.5 kB / 0.6727 GB, free: 5.375 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.1909, allocations: 306.3 kB / 0.673 GB, free: 5.074 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.1932, allocations: 1.192 MB / 0.6741 GB, free: 3.879 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1932, allocations: 4 kB / 0.6741 GB, free: 3.875 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1932, allocations: 3.938 kB / 0.6741 GB, free: 3.871 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.217e-05/0.1932, allocations: 0 / 0.6741 GB, free: 3.871 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002238/0.1955, allocations: 1.034 MB / 0.6751 GB, free: 2.781 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1955, allocations: 12.02 kB / 0.6751 GB, free: 2.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008899/0.1964, allocations: 180 kB / 0.6753 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.1975, allocations: 0.5608 MB / 0.6759 GB, free: 1.988 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.1978, allocations: 84.94 kB / 0.6759 GB, free: 1.906 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.1979, allocations: 36 kB / 0.676 GB, free: 1.871 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/0.1989, allocations: 0.4999 MB / 0.6765 GB, free: 1.344 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.1989, allocations: 3.906 kB / 0.6765 GB, free: 1.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.199, allocations: 15.98 kB / 0.6765 GB, free: 1.324 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.199, allocations: 12 kB / 0.6765 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.2, allocations: 414.6 kB / 0.6769 GB, free: 0.9102 MB / 474.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.002743/0.2027, allocations: 2.285 MB / 0.6791 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.2038, allocations: 382.9 kB / 0.6795 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.2043, allocations: 232.9 kB / 0.6797 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.2046, allocations: 340.6 kB / 0.68 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000627/0.2052, allocations: 306.2 kB / 0.6803 GB, free: 13.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.945e-06/0.2053, allocations: 0 / 0.6803 GB, free: 13.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002264/0.2075, allocations: 0.8625 MB / 0.6812 GB, free: 12.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.2076, allocations: 89.09 kB / 0.6813 GB, free: 12.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.2081, allocations: 494.9 kB / 0.6817 GB, free: 11.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.2082, allocations: 29.7 kB / 0.6818 GB, free: 11.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.2084, allocations: 284.4 kB / 0.682 GB, free: 11.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.2085, allocations: 106.5 kB / 0.6821 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.2086, allocations: 81.59 kB / 0.6822 GB, free: 11.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2087, allocations: 362.7 kB / 0.6826 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.2092, allocations: 184.7 kB / 0.6827 GB, free: 10.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.2097, allocations: 265.7 kB / 0.683 GB, free: 10.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009974/0.2107, allocations: 473 kB / 0.6834 GB, free: 9.734 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2108, allocations: 0 / 0.6834 GB, free: 9.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001522/0.2123, allocations: 0.6279 MB / 0.684 GB, free: 9.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.2124, allocations: 41.69 kB / 0.6841 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2124, allocations: 3.938 kB / 0.6841 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/0.2128, allocations: 68.97 kB / 0.6842 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.2131, allocations: 79.88 kB / 0.6842 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004632/0.2136, allocations: 0.5914 MB / 0.6848 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.2142, allocations: 79.62 kB / 0.6849 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.2142, allocations: 16 kB / 0.6849 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005965/0.2148, allocations: 312 kB / 0.6852 GB, free: 7.871 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005142/0.2153, allocations: 268.8 kB / 0.6855 GB, free: 7.578 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009182/0.2163, allocations: 468.9 kB / 0.6859 GB, free: 7.086 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.2163, allocations: 0 / 0.6859 GB, free: 7.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001249/0.2175, allocations: 0.6006 MB / 0.6865 GB, free: 6.469 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.2176, allocations: 33.7 kB / 0.6865 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2176, allocations: 4 kB / 0.6865 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.2178, allocations: 44.83 kB / 0.6866 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.2181, allocations: 91.97 kB / 0.6867 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.2195, allocations: 1.635 MB / 0.6882 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.2201, allocations: 67.84 kB / 0.6883 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.2201, allocations: 12 kB / 0.6883 GB, free: 4.434 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.2203, allocations: 251.1 kB / 0.6886 GB, free: 4.176 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2204, allocations: 59.25 kB / 0.6886 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.2219, allocations: 0.6453 MB / 0.6893 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.222, allocations: 8 kB / 0.6893 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.222, allocations: 0 / 0.6893 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001356/0.2233, allocations: 0.8132 MB / 0.6901 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.2257, allocations: 1.299 MB / 0.6913 GB, free: 1.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.2257, allocations: 7.938 kB / 0.6913 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.2261, allocations: 59.89 kB / 0.6914 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/0.2262, allocations: 52.81 kB / 0.6914 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.2263, allocations: 12.03 kB / 0.6914 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000395/0.2267, allocations: 0.5835 MB / 0.692 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2267, allocations: 0 / 0.692 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3277/0.5544, allocations: 5.747 MB / 0.6976 GB, free: 56.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.5547, allocations: 185 kB / 0.6978 GB, free: 56.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.5548, allocations: 12.97 kB / 0.6978 GB, free: 56.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006022/0.5554, allocations: 55.39 kB / 0.6979 GB, free: 56.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.5555, allocations: 21.44 kB / 0.6979 GB, free: 56.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.5556, allocations: 18.25 kB / 0.6979 GB, free: 56.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005092/0.5561, allocations: 349.5 kB / 0.6982 GB, free: 55.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5561, allocations: 0 / 0.6982 GB, free: 55.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002231/0.5583, allocations: 0.5255 MB / 0.6988 GB, free: 55.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007581/0.5591, allocations: 309.5 kB / 0.6991 GB, free: 55.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.5616, allocations: 0.9885 MB / 0.7 GB, free: 55.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5616, allocations: 0.5625 kB / 0.7 GB, free: 55.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.5624, allocations: 318.9 kB / 0.7003 GB, free: 55.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.564, allocations: 248.1 kB / 0.7006 GB, free: 55.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.5669, allocations: 1.754 MB / 0.7023 GB, free: 53.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.5674, allocations: 0.8878 MB / 0.7031 GB, free: 53.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006135/0.5681, allocations: 138 kB / 0.7033 GB, free: 53.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.5682, allocations: 55.17 kB / 0.7033 GB, free: 53.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5682, allocations: 0 / 0.7033 GB, free: 53.23 MB / 490.7 MB Notification: Performance of Templates: time 0.02446/0.5927, allocations: 12.28 MB / 0.7153 GB, free: 49.73 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)