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.001049/0.001049, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001296/0.001296, allocations: 168.7 kB / 15.95 MB, free: 204 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.363/1.363, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9887/0.9887, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 8.781 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 82.31 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.2962/0.4748, allocations: 19.1 MB / 0.606 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006454/0.4813, allocations: 5.033 MB / 0.6109 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006379/0.482, allocations: 19.59 kB / 0.611 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.4826, allocations: 253.4 kB / 0.6112 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.4845, allocations: 0.7547 MB / 0.6119 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.4865, allocations: 0.7742 MB / 0.6127 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.4884, allocations: 1.937 MB / 0.6146 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005633/0.489, allocations: 401.3 kB / 0.615 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008052/0.4898, allocations: 0.5926 MB / 0.6155 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.4903, allocations: 467.5 kB / 0.616 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.4903, allocations: 22.44 kB / 0.616 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.4919, allocations: 0.9599 MB / 0.617 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4921, allocations: 114.1 kB / 0.6171 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4922, allocations: 140.5 kB / 0.6172 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.493, allocations: 0.8252 MB / 0.618 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4931, allocations: 3.062 kB / 0.618 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4931, allocations: 4 kB / 0.618 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4931, allocations: 0 / 0.618 GB, free: 33.88 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.0012/0.4943, allocations: 0.9226 MB / 0.6189 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.4943, allocations: 10.03 kB / 0.6189 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007545/0.4951, allocations: 203.4 kB / 0.6191 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008526/0.496, allocations: 0.5306 MB / 0.6196 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.4962, allocations: 101.4 kB / 0.6197 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.4963, allocations: 40.12 kB / 0.6198 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008098/0.4971, allocations: 0.4949 MB / 0.6202 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4971, allocations: 7.938 kB / 0.6203 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.4972, allocations: 16.22 kB / 0.6203 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.4972, allocations: 14.16 kB / 0.6203 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008327/0.4981, allocations: 426.8 kB / 0.6207 GB, free: 32.8 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.002216/0.5003, allocations: 2.295 MB / 0.6229 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008593/0.5012, allocations: 391 kB / 0.6233 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.5016, allocations: 234.1 kB / 0.6235 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.5018, allocations: 343.4 kB / 0.6239 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005278/0.5023, allocations: 314.8 kB / 0.6242 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.815e-06/0.5024, allocations: 0 / 0.6242 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001945/0.5043, allocations: 0.8837 MB / 0.625 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.5044, allocations: 80.3 kB / 0.6251 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.5048, allocations: 496 kB / 0.6256 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.5048, allocations: 33.05 kB / 0.6256 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.505, allocations: 275 kB / 0.6259 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.147e-05/0.5051, allocations: 111.7 kB / 0.626 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.5051, allocations: 10.88 kB / 0.626 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.5052, allocations: 368 kB / 0.6263 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.5056, allocations: 178.3 kB / 0.6265 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.506, allocations: 272.6 kB / 0.6268 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.5064, allocations: 222.9 kB / 0.627 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5064, allocations: 6.938 kB / 0.627 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001168/0.5076, allocations: 0.6184 MB / 0.6276 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/0.5076, allocations: 165.2 kB / 0.6277 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5077, allocations: 4 kB / 0.6277 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/0.508, allocations: 79.84 kB / 0.6278 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.5083, allocations: 77.25 kB / 0.6279 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003044/0.5086, allocations: 0.5976 MB / 0.6285 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.5091, allocations: 83.03 kB / 0.6286 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.5092, allocations: 16.34 kB / 0.6286 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.5092, allocations: 3.469 kB / 0.6286 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001013/0.5102, allocations: 0.5605 MB / 0.6291 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.5102, allocations: 0 / 0.6291 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/0.5103, allocations: 49.31 kB / 0.6292 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.5107, allocations: 81.77 kB / 0.6292 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.5117, allocations: 1.642 MB / 0.6309 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.5122, allocations: 76.33 kB / 0.6309 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.5123, allocations: 17.48 kB / 0.6309 GB, free: 27.32 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.0002589/0.5125, allocations: 294 kB / 0.6312 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.5126, allocations: 60.23 kB / 0.6313 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.5138, allocations: 0.6631 MB / 0.6319 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.5138, allocations: 5.625 kB / 0.6319 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5138, allocations: 4 kB / 0.6319 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.5148, allocations: 0.8229 MB / 0.6327 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.5167, allocations: 1.318 MB / 0.634 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5167, allocations: 2.969 kB / 0.634 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.517, allocations: 70.47 kB / 0.6341 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.5172, allocations: 49.52 kB / 0.6341 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.5172, allocations: 16.75 kB / 0.6342 GB, free: 26.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002453/0.5174, allocations: 0.5751 MB / 0.6347 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5175, allocations: 2.688 kB / 0.6347 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.519, allocations: 0.9912 MB / 0.6357 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.5192, allocations: 180.6 kB / 0.6359 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.5193, allocations: 14.44 kB / 0.6359 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.5198, allocations: 65.81 kB / 0.6359 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.5198, allocations: 30.91 kB / 0.636 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.5199, allocations: 22.5 kB / 0.636 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003288/0.5202, allocations: 343.9 kB / 0.6363 GB, free: 24.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5202, allocations: 2.625 kB / 0.6363 GB, free: 24.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001027/0.5213, allocations: 339.3 kB / 0.6366 GB, free: 24.72 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.0005457/0.5218, allocations: 299.2 kB / 0.6369 GB, free: 24.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.5235, allocations: 0.9959 MB / 0.6379 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5236, allocations: 0 / 0.6379 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.5241, allocations: 336.9 kB / 0.6382 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.5253, allocations: 251.9 kB / 0.6385 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.5271, allocations: 1.343 MB / 0.6398 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.5274, allocations: 0.8876 MB / 0.6406 GB, free: 22.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005235/0.5279, allocations: 124.5 kB / 0.6408 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5281, allocations: 49.72 kB / 0.6408 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.5281, allocations: 4 kB / 0.6408 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.02028/0.5484, allocations: 10.65 MB / 0.6512 GB, free: 21.5 MB / 0.4981 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)