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.001095/0.001095, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0009227/0.0009227, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8553/0.8553, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003417, allocations: 15.98 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1558, allocations: 82.31 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01641/0.1723, allocations: 17.48 MB / 0.6043 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2321/0.4044, allocations: 4.652 MB / 0.6088 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006538/0.4051, allocations: 23.5 kB / 0.6088 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008508/0.406, allocations: 303.7 kB / 0.6091 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.4079, allocations: 0.8037 MB / 0.6099 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.4101, allocations: 0.9059 MB / 0.6108 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.4113, allocations: 1.034 MB / 0.6118 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004572/0.4118, allocations: 413.2 kB / 0.6122 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006421/0.4125, allocations: 0.5305 MB / 0.6127 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.4128, allocations: 329.3 kB / 0.613 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.4129, allocations: 23.28 kB / 0.613 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.4141, allocations: 0.8318 MB / 0.6139 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4143, allocations: 115.5 kB / 0.614 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.4144, allocations: 142.6 kB / 0.6141 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007362/0.4151, allocations: 0.7857 MB / 0.6149 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.4152, allocations: 0 / 0.6149 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4152, allocations: 0 / 0.6149 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4152, allocations: 0 / 0.6149 GB, free: 34.59 MB / 0.4981 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.001103/0.4163, allocations: 0.9087 MB / 0.6158 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.4163, allocations: 12.81 kB / 0.6158 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007865/0.4171, allocations: 197.6 kB / 0.616 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006469/0.4178, allocations: 0.5047 MB / 0.6164 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/0.4181, allocations: 97.64 kB / 0.6165 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.4182, allocations: 40.02 kB / 0.6166 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007591/0.4189, allocations: 0.493 MB / 0.6171 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4189, allocations: 3.984 kB / 0.6171 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.419, allocations: 19.59 kB / 0.6171 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.419, allocations: 14.17 kB / 0.6171 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.4199, allocations: 431.2 kB / 0.6175 GB, free: 33.54 MB / 0.4981 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.00224/0.4221, allocations: 2.3 MB / 0.6198 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008646/0.423, allocations: 394.1 kB / 0.6201 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.4232, allocations: 340.7 kB / 0.6205 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005743/0.4238, allocations: 311.1 kB / 0.6207 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.845e-06/0.4238, allocations: 0 / 0.6207 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002022/0.4258, allocations: 0.9663 MB / 0.6217 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.4259, allocations: 80.23 kB / 0.6218 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.4264, allocations: 0.4943 MB / 0.6223 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.4264, allocations: 37.91 kB / 0.6223 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4266, allocations: 276.7 kB / 0.6226 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.4267, allocations: 114 kB / 0.6227 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.4267, allocations: 9.438 kB / 0.6227 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.4268, allocations: 365.7 kB / 0.623 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.4272, allocations: 173.6 kB / 0.6232 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.4277, allocations: 267.8 kB / 0.6234 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.4281, allocations: 227.5 kB / 0.6237 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4281, allocations: 0 / 0.6237 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001172/0.4293, allocations: 0.632 MB / 0.6243 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.4294, allocations: 0.645 MB / 0.6249 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4295, allocations: 5.375 kB / 0.6249 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/0.4298, allocations: 71.64 kB / 0.625 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.4301, allocations: 80.55 kB / 0.6251 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003279/0.4305, allocations: 0.598 MB / 0.6256 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.431, allocations: 80.17 kB / 0.6257 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.431, allocations: 22.47 kB / 0.6257 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.431, allocations: 6.875 kB / 0.6257 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/0.4321, allocations: 0.5563 MB / 0.6263 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.4321, allocations: 7.062 kB / 0.6263 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000116/0.4322, allocations: 44.56 kB / 0.6263 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.4325, allocations: 84.33 kB / 0.6264 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.4336, allocations: 1.639 MB / 0.628 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.434, allocations: 81.64 kB / 0.6281 GB, free: 27.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.4341, allocations: 16.81 kB / 0.6281 GB, free: 27.51 MB / 0.4981 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 () * 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 (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.0002192/0.4343, allocations: 297.1 kB / 0.6284 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.4344, allocations: 54.03 kB / 0.6284 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.4355, allocations: 0.67 MB / 0.6291 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4356, allocations: 6.109 kB / 0.6291 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4356, allocations: 3.188 kB / 0.6291 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/0.4366, allocations: 0.8193 MB / 0.6299 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.4383, allocations: 1.321 MB / 0.6312 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4384, allocations: 96 / 0.6312 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.4387, allocations: 72.59 kB / 0.6313 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.4388, allocations: 45.12 kB / 0.6313 GB, free: 26.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.4388, allocations: 19.72 kB / 0.6313 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002101/0.439, allocations: 0.5735 MB / 0.6319 GB, free: 25.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.439, allocations: 0.875 kB / 0.6319 GB, free: 25.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.4405, allocations: 1.034 MB / 0.6329 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.4408, allocations: 193.5 kB / 0.6331 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.4409, allocations: 8.781 kB / 0.6331 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.4414, allocations: 62.19 kB / 0.6332 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.4414, allocations: 21.16 kB / 0.6332 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.4415, allocations: 20.39 kB / 0.6332 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002949/0.4418, allocations: 361.9 kB / 0.6335 GB, free: 25.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.72e-07/0.4418, allocations: 3.938 kB / 0.6335 GB, free: 25.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000913/0.4427, allocations: 353.1 kB / 0.6339 GB, free: 25.19 MB / 0.4981 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 (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.0005118/0.4432, allocations: 302.3 kB / 0.6342 GB, free: 25.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.4449, allocations: 0.9979 MB / 0.6351 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4449, allocations: 3.406 kB / 0.6351 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.4454, allocations: 331.2 kB / 0.6355 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.4465, allocations: 239.3 kB / 0.6357 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.4483, allocations: 1.358 MB / 0.637 GB, free: 24.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.4485, allocations: 0.8962 MB / 0.6379 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004545/0.449, allocations: 129.7 kB / 0.638 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.4491, allocations: 47.78 kB / 0.6381 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.4491, allocations: 0 / 0.6381 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.01677/0.4659, allocations: 10.93 MB / 0.6487 GB, free: 22.34 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: