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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005148/0.005149, allocations: 102.3 kB / 15.73 MB, free: 6.043 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.001259/0.001259, allocations: 193.6 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7568/0.7568, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 71.91 kB / 0.5856 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1502, allocations: 80.92 MB / 0.6646 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.0237/0.1739, allocations: 20.84 MB / 0.685 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007509/0.1815, allocations: 5.384 MB / 0.6902 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006376/0.1822, allocations: 27.81 kB / 0.6903 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009119/0.1831, allocations: 341.8 kB / 0.6906 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.1853, allocations: 0.9564 MB / 0.6915 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.1876, allocations: 0.9465 MB / 0.6925 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.1895, allocations: 1.743 MB / 0.6942 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006188/0.1901, allocations: 0.4894 MB / 0.6946 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.1916, allocations: 0.721 MB / 0.6953 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.1922, allocations: 489.9 kB / 0.6958 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.1923, allocations: 40 kB / 0.6958 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.194, allocations: 1.127 MB / 0.6969 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.1942, allocations: 147.4 kB / 0.6971 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.1945, allocations: 318.3 kB / 0.6974 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.1961, allocations: 1.219 MB / 0.6986 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1961, allocations: 3.984 kB / 0.6986 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1961, allocations: 0 / 0.6986 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.1961, allocations: 0 / 0.6986 GB, free: 2.895 MB / 0.5294 GB 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.001477/0.1976, allocations: 1.045 MB / 0.6996 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1977, allocations: 13.11 kB / 0.6996 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008726/0.1985, allocations: 172 kB / 0.6998 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.1996, allocations: 0.5995 MB / 0.7004 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.1996, allocations: 32.98 kB / 0.7004 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.1997, allocations: 36 kB / 0.7004 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008879/0.2006, allocations: 0.4921 MB / 0.7009 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2006, allocations: 4 kB / 0.7009 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.2007, allocations: 16 kB / 0.7009 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.2007, allocations: 11.94 kB / 0.7009 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.2017, allocations: 402.6 kB / 0.7013 GB, free: 15.96 MB / 0.545 GB 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.002703/0.2044, allocations: 2.278 MB / 0.7036 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009239/0.2053, allocations: 363.9 kB / 0.7039 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.2058, allocations: 221 kB / 0.7041 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.2061, allocations: 340.6 kB / 0.7044 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005864/0.2067, allocations: 301.9 kB / 0.7047 GB, free: 12.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.2067, allocations: 0 / 0.7047 GB, free: 12.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002091/0.2088, allocations: 0.846 MB / 0.7056 GB, free: 11.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2088, allocations: 89.11 kB / 0.7056 GB, free: 11.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.2093, allocations: 495 kB / 0.7061 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.2094, allocations: 33.7 kB / 0.7061 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.2096, allocations: 276.4 kB / 0.7064 GB, free: 10.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.2097, allocations: 106.5 kB / 0.7065 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2099, allocations: 89.27 kB / 0.7066 GB, free: 10.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.21, allocations: 366.7 kB / 0.7069 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.2105, allocations: 180.5 kB / 0.7071 GB, free: 9.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.211, allocations: 265.2 kB / 0.7074 GB, free: 9.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008847/0.2119, allocations: 465 kB / 0.7078 GB, free: 8.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2119, allocations: 0 / 0.7078 GB, free: 8.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001373/0.2132, allocations: 0.6199 MB / 0.7084 GB, free: 8.219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.2133, allocations: 33.7 kB / 0.7084 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2133, allocations: 3.938 kB / 0.7085 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.2137, allocations: 76.95 kB / 0.7085 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.214, allocations: 67.89 kB / 0.7086 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004874/0.2145, allocations: 0.6031 MB / 0.7092 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.215, allocations: 55.69 kB / 0.7092 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.2151, allocations: 19.98 kB / 0.7092 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005704/0.2156, allocations: 308.1 kB / 0.7095 GB, free: 7.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004778/0.2161, allocations: 261.4 kB / 0.7098 GB, free: 6.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009106/0.217, allocations: 460.9 kB / 0.7102 GB, free: 6.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.2171, allocations: 0 / 0.7102 GB, free: 6.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001319/0.2184, allocations: 0.5926 MB / 0.7108 GB, free: 5.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.2184, allocations: 37.7 kB / 0.7108 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2184, allocations: 0 / 0.7108 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.2186, allocations: 48.83 kB / 0.7109 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.219, allocations: 83.97 kB / 0.711 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.2206, allocations: 1.798 MB / 0.7127 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.2211, allocations: 59.77 kB / 0.7128 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.2211, allocations: 15.98 kB / 0.7128 GB, free: 3.441 MB / 0.545 GB 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.0002101/0.2213, allocations: 235.8 kB / 0.713 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.2214, allocations: 55.34 kB / 0.7131 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.2228, allocations: 0.6503 MB / 0.7137 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.2229, allocations: 4 kB / 0.7137 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2229, allocations: 3.938 kB / 0.7137 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/0.2241, allocations: 0.8024 MB / 0.7145 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.2263, allocations: 1.297 MB / 0.7158 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.2263, allocations: 4 kB / 0.7158 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.2266, allocations: 63.98 kB / 0.7158 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.2268, allocations: 44.81 kB / 0.7159 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.2268, allocations: 12 kB / 0.7159 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004005/0.2272, allocations: 0.5758 MB / 0.7165 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.2273, allocations: 7.969 kB / 0.7165 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.229, allocations: 0.9608 MB / 0.7174 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.2293, allocations: 176.3 kB / 0.7176 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.2294, allocations: 8 kB / 0.7176 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.2299, allocations: 44.02 kB / 0.7176 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.2299, allocations: 23.91 kB / 0.7176 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.23, allocations: 23.98 kB / 0.7177 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000398/0.2304, allocations: 350.8 kB / 0.718 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2304, allocations: 0 / 0.718 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000973/0.2314, allocations: 331.5 kB / 0.7183 GB, free: 13.54 MB / 0.5606 GB 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.0006461/0.232, allocations: 304.2 kB / 0.7186 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.2341, allocations: 0.982 MB / 0.7196 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2341, allocations: 0 / 0.7196 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.2347, allocations: 323.4 kB / 0.7199 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2358, allocations: 232.6 kB / 0.7201 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.2379, allocations: 1.105 MB / 0.7212 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.2384, allocations: 0.8823 MB / 0.722 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004643/0.2389, allocations: 128.3 kB / 0.7222 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.239, allocations: 47.41 kB / 0.7222 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.2391, allocations: 0 / 0.7222 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of Templates: time 0.01999/0.259, allocations: 11.37 MB / 0.7333 GB, free: 14.18 MB / 0.5762 GB 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)