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.00151/0.00151, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8067/0.8067, allocations: 130.5 MB / 143.8 MB, free: 13.57 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.654/1.654, allocations: 221.3 MB / 396.8 MB, free: 9.176 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.0009204/0.0009203, allocations: 109.3 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.61e-05, allocations: 4.125 kB / 0.5551 GB, free: 86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.185, allocations: 81.58 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.518, allocations: 362.8 MB / 0.9891 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.518, allocations: 87.66 kB / 0.9892 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9369/2.455, allocations: 259.1 MB / 1.242 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/2.455, allocations: 0 / 1.242 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.923e-05/2.455, allocations: 16.56 kB / 1.242 GB, free: 170.5 MB / 0.6823 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.001661/2.457, allocations: 0.9177 MB / 1.243 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/2.457, allocations: 12.59 kB / 1.243 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008384/2.458, allocations: 183.4 kB / 1.243 GB, free: 170 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02606/2.484, allocations: 12.02 MB / 1.255 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/2.484, allocations: 95.3 kB / 1.255 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/2.484, allocations: 43.97 kB / 1.255 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000875/2.485, allocations: 457.4 kB / 1.256 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/2.485, allocations: 4.062 kB / 1.256 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/2.485, allocations: 16.53 kB / 1.256 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/2.485, allocations: 13.06 kB / 1.256 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/2.486, allocations: 324.5 kB / 1.256 GB, free: 169.3 MB / 0.6823 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.002869/2.489, allocations: 2.259 MB / 1.258 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/2.489, allocations: 270.5 kB / 1.258 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/2.489, allocations: 188.1 kB / 1.259 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/2.49, allocations: 345 kB / 1.259 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/2.49, allocations: 255.8 kB / 1.259 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/2.49, allocations: 0.9688 kB / 1.259 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001049/2.491, allocations: 495.4 kB / 1.26 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/2.491, allocations: 84.61 kB / 1.26 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/2.492, allocations: 427.3 kB / 1.26 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/2.492, allocations: 35.7 kB / 1.26 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/2.492, allocations: 278.3 kB / 1.26 GB, free: 167 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/2.492, allocations: 106.2 kB / 1.261 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/2.492, allocations: 7.875 kB / 1.261 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001004/2.492, allocations: 361.3 kB / 1.261 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/2.492, allocations: 128.5 kB / 1.261 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/2.493, allocations: 228.5 kB / 1.261 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/2.493, allocations: 172.1 kB / 1.261 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/2.493, allocations: 2.625 kB / 1.261 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008215/2.494, allocations: 0.5314 MB / 1.262 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/2.494, allocations: 0.6503 MB / 1.263 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/2.494, allocations: 5.328 kB / 1.263 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/2.494, allocations: 51.2 kB / 1.263 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/2.495, allocations: 86.5 kB / 1.263 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004093/2.495, allocations: 0.6038 MB / 1.263 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/2.496, allocations: 79.66 kB / 1.263 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/2.496, allocations: 22.73 kB / 1.263 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/2.496, allocations: 5.875 kB / 1.263 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008502/2.497, allocations: 477.5 kB / 1.264 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/2.497, allocations: 1.188 kB / 1.264 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/2.497, allocations: 53.53 kB / 1.264 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/2.497, allocations: 82.41 kB / 1.264 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/2.499, allocations: 1.619 MB / 1.266 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/2.499, allocations: 86.23 kB / 1.266 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/2.499, allocations: 25.2 kB / 1.266 GB, free: 163.7 MB / 0.6823 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.0001874/2.499, allocations: 165.9 kB / 1.266 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/2.5, allocations: 56.19 kB / 1.266 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/2.501, allocations: 0.5684 MB / 1.266 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/2.501, allocations: 3.656 kB / 1.266 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/2.501, allocations: 0 / 1.266 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006733/2.501, allocations: 0.7265 MB / 1.267 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/2.503, allocations: 1.238 MB / 1.268 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/2.503, allocations: 0 / 1.268 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/2.503, allocations: 80.58 kB / 1.268 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/2.503, allocations: 39.41 kB / 1.268 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/2.503, allocations: 18.38 kB / 1.268 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002432/2.504, allocations: 0.5759 MB / 1.269 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/2.504, allocations: 0 / 1.269 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009909/2.505, allocations: 0.8956 MB / 1.27 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/2.505, allocations: 188.4 kB / 1.27 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/2.505, allocations: 10.28 kB / 1.27 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/2.505, allocations: 63.59 kB / 1.27 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/2.506, allocations: 29.64 kB / 1.27 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/2.506, allocations: 27.67 kB / 1.27 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000322/2.506, allocations: 334.2 kB / 1.271 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/2.506, allocations: 0 / 1.271 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001256/2.507, allocations: 380.6 kB / 1.271 GB, free: 161.6 MB / 0.6823 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.0007894/2.508, allocations: 436.5 kB / 1.271 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001153/2.509, allocations: 0.8369 MB / 1.272 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/2.509, allocations: 3.406 kB / 1.272 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/2.509, allocations: 271.1 kB / 1.272 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/2.511, allocations: 232.1 kB / 1.273 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/2.512, allocations: 0.7845 MB / 1.273 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/2.512, allocations: 0.8989 MB / 1.274 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005953/2.513, allocations: 157 kB / 1.274 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/2.513, allocations: 41.47 kB / 1.274 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3.9e-07/2.513, allocations: 0 / 1.274 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.01868/2.532, allocations: 13.28 MB / 1.287 GB, free: 160 MB / 0.6823 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)