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.0008299/0.0008299, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006424/0.006425, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9252/0.9252, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003597, allocations: 8 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 82.31 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.303/0.4838, allocations: 20.14 MB / 0.6076 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00674/0.4906, allocations: 5.386 MB / 0.6129 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007793/0.4914, allocations: 18.94 kB / 0.6129 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009566/0.4924, allocations: 287 kB / 0.6132 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.4949, allocations: 0.8454 MB / 0.614 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.4973, allocations: 0.8254 MB / 0.6148 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0025/0.4998, allocations: 2.289 MB / 0.6171 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.5006, allocations: 440.3 kB / 0.6175 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.5019, allocations: 0.5988 MB / 0.6181 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007598/0.5027, allocations: 498.8 kB / 0.6185 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/0.5027, allocations: 22.78 kB / 0.6186 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.505, allocations: 1.089 MB / 0.6196 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.5052, allocations: 126.6 kB / 0.6197 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.5055, allocations: 329.9 kB / 0.6201 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.5071, allocations: 1.18 MB / 0.6212 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5072, allocations: 0 / 0.6212 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5072, allocations: 4 kB / 0.6212 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.5072, allocations: 0 / 0.6212 GB, free: 33.07 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.0015/0.5087, allocations: 0.9186 MB / 0.6221 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5087, allocations: 8.969 kB / 0.6221 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008439/0.5096, allocations: 198.2 kB / 0.6223 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.5104, allocations: 0.5643 MB / 0.6229 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.5108, allocations: 96.2 kB / 0.6229 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.5109, allocations: 39.28 kB / 0.623 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008561/0.5117, allocations: 0.4986 MB / 0.6235 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5117, allocations: 0 / 0.6235 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.5118, allocations: 24.56 kB / 0.6235 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.5118, allocations: 8.75 kB / 0.6235 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009439/0.5128, allocations: 432.1 kB / 0.6239 GB, free: 31.96 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.002315/0.5151, allocations: 2.299 MB / 0.6262 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/0.5161, allocations: 394.6 kB / 0.6265 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.5166, allocations: 246.6 kB / 0.6268 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.5168, allocations: 339.9 kB / 0.6271 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.5174, allocations: 306.9 kB / 0.6274 GB, free: 30 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.5174, allocations: 0 / 0.6274 GB, free: 30 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002098/0.5195, allocations: 0.8888 MB / 0.6283 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.5195, allocations: 82.77 kB / 0.6283 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.52, allocations: 0.4931 MB / 0.6288 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.52, allocations: 32.45 kB / 0.6288 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.5202, allocations: 279.2 kB / 0.6291 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.5203, allocations: 108.1 kB / 0.6292 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.5203, allocations: 38 kB / 0.6293 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.5204, allocations: 361.5 kB / 0.6296 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.5208, allocations: 179.7 kB / 0.6298 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.5213, allocations: 276 kB / 0.63 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008433/0.5222, allocations: 489 kB / 0.6305 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5222, allocations: 0 / 0.6305 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001261/0.5235, allocations: 0.6379 MB / 0.6311 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.786e-05/0.5235, allocations: 175.1 kB / 0.6313 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5236, allocations: 0 / 0.6313 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.5239, allocations: 65.31 kB / 0.6314 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.5242, allocations: 84.73 kB / 0.6314 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003907/0.5246, allocations: 0.5956 MB / 0.632 GB, free: 27.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.5252, allocations: 78.31 kB / 0.6321 GB, free: 27.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.5253, allocations: 15.31 kB / 0.6321 GB, free: 27.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.5253, allocations: 9.719 kB / 0.6321 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001159/0.5265, allocations: 0.5699 MB / 0.6327 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.5265, allocations: 0 / 0.6327 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.5266, allocations: 52 kB / 0.6327 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.527, allocations: 88.92 kB / 0.6328 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.5281, allocations: 1.638 MB / 0.6344 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.5286, allocations: 75.5 kB / 0.6345 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.5287, allocations: 16.48 kB / 0.6345 GB, free: 25.68 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 (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.0002855/0.529, allocations: 302.7 kB / 0.6348 GB, free: 25.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.5291, allocations: 56.97 kB / 0.6348 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.5303, allocations: 0.6704 MB / 0.6355 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5303, allocations: 5.203 kB / 0.6355 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.5304, allocations: 0 / 0.6355 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.5314, allocations: 0.8216 MB / 0.6363 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.5333, allocations: 1.329 MB / 0.6376 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5333, allocations: 2.219 kB / 0.6376 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.5336, allocations: 69.16 kB / 0.6377 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.5338, allocations: 41.03 kB / 0.6377 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.5338, allocations: 15.61 kB / 0.6377 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002354/0.534, allocations: 0.5737 MB / 0.6383 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5341, allocations: 0 / 0.6383 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.5357, allocations: 1.006 MB / 0.6393 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.5359, allocations: 189.6 kB / 0.6394 GB, free: 22.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/0.536, allocations: 6.719 kB / 0.6394 GB, free: 22.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.5365, allocations: 64 kB / 0.6395 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.5366, allocations: 25.11 kB / 0.6395 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.5366, allocations: 22.31 kB / 0.6396 GB, free: 22.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002937/0.5369, allocations: 347.9 kB / 0.6399 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5369, allocations: 0 / 0.6399 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009416/0.5379, allocations: 338.3 kB / 0.6402 GB, free: 22.44 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 (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.0005596/0.5384, allocations: 310.5 kB / 0.6405 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.5402, allocations: 0.9983 MB / 0.6415 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5402, allocations: 0 / 0.6415 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.5408, allocations: 343.5 kB / 0.6418 GB, free: 21.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.5422, allocations: 249.1 kB / 0.642 GB, free: 21.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.544, allocations: 1.386 MB / 0.6434 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.5443, allocations: 0.8741 MB / 0.6442 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004592/0.5447, allocations: 137.1 kB / 0.6444 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5449, allocations: 52.34 kB / 0.6444 GB, free: 20.06 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.5449, allocations: 0 / 0.6444 GB, free: 20.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.02389/0.5688, allocations: 10.99 MB / 0.6552 GB, free: 19.15 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)