Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001756/0.001756, allocations: 183.1 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-master/package.mo): time 0.7509/0.7509, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.389/1.389, allocations: 222.9 MB / 404.7 MB, free: 5.988 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.00108/0.00108, allocations: 111.4 kB / 485.9 MB, free: 7.133 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 51.92 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1623, allocations: 80.43 MB / 0.6421 GB, free: 5.391 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02547/0.1878, allocations: 20.74 MB / 0.6624 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.1962, allocations: 5.468 MB / 0.6677 GB, free: 11.09 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008614/0.1971, allocations: 19.88 kB / 0.6678 GB, free: 11.07 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000946/0.1981, allocations: 282.4 kB / 0.668 GB, free: 10.79 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.2004, allocations: 0.8524 MB / 0.6689 GB, free: 9.934 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.2027, allocations: 0.8181 MB / 0.6697 GB, free: 9.125 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.2049, allocations: 2.293 MB / 0.6719 GB, free: 6.828 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006006/0.2055, allocations: 445 kB / 0.6723 GB, free: 6.375 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009437/0.2065, allocations: 0.6263 MB / 0.6729 GB, free: 5.746 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.207, allocations: 497.8 kB / 0.6734 GB, free: 5.258 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.2071, allocations: 28 kB / 0.6734 GB, free: 5.23 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.2088, allocations: 1.095 MB / 0.6745 GB, free: 4.133 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.209, allocations: 131.4 kB / 0.6746 GB, free: 4.004 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.2093, allocations: 306.3 kB / 0.6749 GB, free: 3.703 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.2106, allocations: 1.192 MB / 0.6761 GB, free: 2.508 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2107, allocations: 0 / 0.6761 GB, free: 2.508 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2107, allocations: 4 kB / 0.6761 GB, free: 2.504 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2107, allocations: 0 / 0.6761 GB, free: 2.504 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.001565/0.2123, allocations: 1.038 MB / 0.6771 GB, free: 1.406 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2123, allocations: 8.031 kB / 0.6771 GB, free: 1.398 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.2132, allocations: 180 kB / 0.6773 GB, free: 1.223 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009876/0.2142, allocations: 0.5608 MB / 0.6778 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/0.2145, allocations: 92.92 kB / 0.6779 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.2146, allocations: 36 kB / 0.6779 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009281/0.2155, allocations: 0.4921 MB / 0.6784 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2156, allocations: 3.906 kB / 0.6784 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.2156, allocations: 20 kB / 0.6785 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.2157, allocations: 15.98 kB / 0.6785 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.2167, allocations: 410.6 kB / 0.6789 GB, free: 15.54 MB / 490.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.00276/0.2195, allocations: 2.277 MB / 0.6811 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.2205, allocations: 384.3 kB / 0.6814 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.221, allocations: 232.9 kB / 0.6817 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.2213, allocations: 340.6 kB / 0.682 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006355/0.222, allocations: 306.2 kB / 0.6823 GB, free: 11.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.222, allocations: 0 / 0.6823 GB, free: 11.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002259/0.2242, allocations: 0.8656 MB / 0.6831 GB, free: 10.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2243, allocations: 81.11 kB / 0.6832 GB, free: 10.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.2248, allocations: 498.9 kB / 0.6837 GB, free: 10.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.2249, allocations: 33.7 kB / 0.6837 GB, free: 10.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.225, allocations: 276.4 kB / 0.684 GB, free: 9.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.2251, allocations: 106.5 kB / 0.6841 GB, free: 9.805 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2253, allocations: 81.58 kB / 0.6842 GB, free: 9.719 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2254, allocations: 370.7 kB / 0.6845 GB, free: 9.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.2259, allocations: 180.8 kB / 0.6847 GB, free: 9.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.2264, allocations: 273.4 kB / 0.6849 GB, free: 8.867 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000969/0.2274, allocations: 469 kB / 0.6854 GB, free: 8.375 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2274, allocations: 3.984 kB / 0.6854 GB, free: 8.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001425/0.2289, allocations: 0.6124 MB / 0.686 GB, free: 7.742 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.2289, allocations: 43.56 kB / 0.686 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2289, allocations: 3.938 kB / 0.686 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.2293, allocations: 72.75 kB / 0.6861 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.2297, allocations: 84.03 kB / 0.6862 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004653/0.2301, allocations: 0.5953 MB / 0.6868 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.2307, allocations: 79.7 kB / 0.6868 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.2307, allocations: 15.98 kB / 0.6869 GB, free: 6.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006047/0.2314, allocations: 312 kB / 0.6872 GB, free: 6.512 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005236/0.2319, allocations: 269.6 kB / 0.6874 GB, free: 6.215 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009505/0.2329, allocations: 476.9 kB / 0.6879 GB, free: 5.715 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.2329, allocations: 0 / 0.6879 GB, free: 5.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001307/0.2342, allocations: 0.5928 MB / 0.6885 GB, free: 5.105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.2342, allocations: 37.69 kB / 0.6885 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2342, allocations: 4 kB / 0.6885 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.2344, allocations: 48.83 kB / 0.6885 GB, free: 5.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.2348, allocations: 87.97 kB / 0.6886 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.2361, allocations: 1.627 MB / 0.6902 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.2367, allocations: 63.86 kB / 0.6903 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.2367, allocations: 23.92 kB / 0.6903 GB, free: 3.066 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.0001998/0.2369, allocations: 237.9 kB / 0.6905 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.237, allocations: 63.25 kB / 0.6906 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.2385, allocations: 0.6492 MB / 0.6912 GB, free: 2.086 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2385, allocations: 4 kB / 0.6912 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.2386, allocations: 0 / 0.6912 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.2399, allocations: 0.817 MB / 0.692 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3296/0.5694, allocations: 1.286 MB / 0.6933 GB, free: 57.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.5695, allocations: 1.5 kB / 0.6933 GB, free: 57.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.5699, allocations: 69.59 kB / 0.6933 GB, free: 57.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/0.5701, allocations: 49.3 kB / 0.6934 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.5701, allocations: 15.17 kB / 0.6934 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003153/0.5705, allocations: 0.577 MB / 0.694 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.5705, allocations: 1.516 kB / 0.694 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008523/0.579, allocations: 5.756 MB / 0.6996 GB, free: 53.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.5793, allocations: 183.8 kB / 0.6998 GB, free: 53.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.5794, allocations: 9.469 kB / 0.6998 GB, free: 53.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.5799, allocations: 63.03 kB / 0.6998 GB, free: 53.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.58, allocations: 26.17 kB / 0.6999 GB, free: 53.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.5801, allocations: 20.88 kB / 0.6999 GB, free: 53.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004884/0.5806, allocations: 352 kB / 0.7002 GB, free: 53.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5806, allocations: 0.9062 kB / 0.7002 GB, free: 53.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00206/0.5826, allocations: 0.5206 MB / 0.7007 GB, free: 53.55 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.0007603/0.5834, allocations: 312.2 kB / 0.701 GB, free: 53.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.5857, allocations: 0.9735 MB / 0.702 GB, free: 53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5857, allocations: 5.562 kB / 0.702 GB, free: 53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006762/0.5864, allocations: 327.7 kB / 0.7023 GB, free: 52.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.5878, allocations: 243.8 kB / 0.7025 GB, free: 52.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.5903, allocations: 1.757 MB / 0.7042 GB, free: 51.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.5907, allocations: 0.886 MB / 0.7051 GB, free: 51.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005518/0.5913, allocations: 125.8 kB / 0.7052 GB, free: 51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5914, allocations: 51.45 kB / 0.7053 GB, free: 50.98 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5914, allocations: 0.75 kB / 0.7053 GB, free: 50.98 MB / 490.7 MB Notification: Performance of Templates: time 0.02151/0.6129, allocations: 12.3 MB / 0.7173 GB, free: 47.37 MB / 490.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)