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.001427/0.001428, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8693/0.8693, allocations: 130.7 MB / 138.7 MB, free: 3.566 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 99.67 kB / 473.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.812e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.499, allocations: 81.57 MB / 0.6282 GB, free: 42.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.816/1.315, allocations: 362.2 MB / 0.9819 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.315, allocations: 86.7 kB / 0.9819 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.001/2.317, allocations: 257.4 MB / 1.233 GB, free: 80.06 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.673e-06/2.317, allocations: 0 / 1.233 GB, free: 80.06 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.912e-05/2.317, allocations: 23.98 kB / 1.233 GB, free: 80.04 MB / 0.6667 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.002773/2.32, allocations: 0.9176 MB / 1.234 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/2.32, allocations: 16.03 kB / 1.234 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/2.321, allocations: 179 kB / 1.234 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.025/2.346, allocations: 11.98 MB / 1.246 GB, free: 66.72 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003652/2.346, allocations: 84.66 kB / 1.246 GB, free: 66.64 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/2.346, allocations: 27.98 kB / 1.246 GB, free: 66.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006163/2.347, allocations: 293.5 kB / 1.247 GB, free: 66.33 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/2.348, allocations: 404.8 kB / 1.247 GB, free: 65.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/2.348, allocations: 3.938 kB / 1.247 GB, free: 65.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/2.348, allocations: 7.953 kB / 1.247 GB, free: 65.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/2.348, allocations: 16.78 kB / 1.247 GB, free: 65.88 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.003039/2.351, allocations: 2.173 MB / 1.249 GB, free: 63.51 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/2.351, allocations: 262.9 kB / 1.249 GB, free: 63.24 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/2.352, allocations: 174.1 kB / 1.249 GB, free: 63.07 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/2.352, allocations: 336.6 kB / 1.25 GB, free: 62.67 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/2.352, allocations: 250.7 kB / 1.25 GB, free: 62.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 2.876e-06/2.352, allocations: 3.938 kB / 1.25 GB, free: 62.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001224/2.353, allocations: 477.9 kB / 1.25 GB, free: 61.93 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/2.354, allocations: 81.11 kB / 1.251 GB, free: 61.83 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/2.354, allocations: 377.2 kB / 1.251 GB, free: 61.45 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.589e-05/2.354, allocations: 25.7 kB / 1.251 GB, free: 61.42 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/2.354, allocations: 276.3 kB / 1.251 GB, free: 61.15 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/2.354, allocations: 110.5 kB / 1.251 GB, free: 61.04 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/2.354, allocations: 0 / 1.251 GB, free: 61.04 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/2.355, allocations: 358.8 kB / 1.252 GB, free: 60.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/2.355, allocations: 124 kB / 1.252 GB, free: 60.56 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/2.355, allocations: 222.9 kB / 1.252 GB, free: 60.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/2.355, allocations: 167.7 kB / 1.252 GB, free: 60.14 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/2.355, allocations: 0 / 1.252 GB, free: 60.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009348/2.356, allocations: 0.5052 MB / 1.253 GB, free: 59.62 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/2.356, allocations: 0.6431 MB / 1.253 GB, free: 58.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/2.356, allocations: 7.938 kB / 1.253 GB, free: 58.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/2.357, allocations: 48.8 kB / 1.253 GB, free: 58.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/2.357, allocations: 87.88 kB / 1.253 GB, free: 58.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003722/2.357, allocations: 0.5992 MB / 1.254 GB, free: 58.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/2.358, allocations: 63.8 kB / 1.254 GB, free: 58.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/2.358, allocations: 23.98 kB / 1.254 GB, free: 58.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/2.358, allocations: 4 kB / 1.254 GB, free: 58.07 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000803/2.359, allocations: 440 kB / 1.255 GB, free: 57.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/2.359, allocations: 4 kB / 1.255 GB, free: 57.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/2.359, allocations: 44.83 kB / 1.255 GB, free: 57.58 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/2.36, allocations: 84.06 kB / 1.255 GB, free: 57.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/2.361, allocations: 1.56 MB / 1.256 GB, free: 55.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/2.361, allocations: 67.77 kB / 1.256 GB, free: 55.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/2.361, allocations: 27.94 kB / 1.256 GB, free: 55.71 MB / 0.6667 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete 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 (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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001969/2.362, allocations: 152.5 kB / 1.256 GB, free: 55.55 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/2.362, allocations: 55.28 kB / 1.256 GB, free: 55.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/2.363, allocations: 0.5203 MB / 1.257 GB, free: 54.97 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/2.363, allocations: 4 kB / 1.257 GB, free: 54.97 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/2.363, allocations: 0 / 1.257 GB, free: 54.97 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000757/2.364, allocations: 0.6868 MB / 1.258 GB, free: 54.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/2.365, allocations: 1.122 MB / 1.259 GB, free: 53.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/2.365, allocations: 0 / 1.259 GB, free: 53.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/2.366, allocations: 75.97 kB / 1.259 GB, free: 52.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/2.366, allocations: 40.84 kB / 1.259 GB, free: 52.91 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/2.366, allocations: 8 kB / 1.259 GB, free: 52.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003252/2.366, allocations: 0.5719 MB / 1.259 GB, free: 52.31 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.366, allocations: 4.031 kB / 1.259 GB, free: 52.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/2.367, allocations: 0.8436 MB / 1.26 GB, free: 51.41 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/2.368, allocations: 184.3 kB / 1.26 GB, free: 51.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/2.368, allocations: 4 kB / 1.26 GB, free: 51.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005861/2.368, allocations: 63.84 kB / 1.26 GB, free: 51.15 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/2.368, allocations: 27.92 kB / 1.26 GB, free: 51.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/2.368, allocations: 19.98 kB / 1.261 GB, free: 51.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003163/2.369, allocations: 294.9 kB / 1.261 GB, free: 50.82 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/2.369, allocations: 0 / 1.261 GB, free: 50.82 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001443/2.37, allocations: 375.2 kB / 1.261 GB, free: 50.45 MB / 0.6667 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) * 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009884/2.371, allocations: 419.5 kB / 1.262 GB, free: 50.04 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001245/2.372, allocations: 0.817 MB / 1.262 GB, free: 49.19 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/2.372, allocations: 8.062 kB / 1.262 GB, free: 49.18 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/2.373, allocations: 255.3 kB / 1.263 GB, free: 48.92 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/2.374, allocations: 217.6 kB / 1.263 GB, free: 48.71 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/2.376, allocations: 0.7564 MB / 1.264 GB, free: 47.92 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/2.376, allocations: 0.8987 MB / 1.264 GB, free: 46.99 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006849/2.377, allocations: 144.3 kB / 1.265 GB, free: 46.85 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/2.377, allocations: 39.42 kB / 1.265 GB, free: 46.81 MB / 0.6667 GB Notification: Performance of SimCode: time 1.363e-06/2.377, allocations: 0 / 1.265 GB, free: 46.81 MB / 0.6667 GB Notification: Performance of Templates: time 0.02021/2.397, allocations: 11.33 MB / 1.276 GB, free: 35.58 MB / 0.6667 GB 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)