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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009958/0.0009959, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007604/0.007604, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7801/0.7801, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 16 kB / 0.504 GB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4402, allocations: 81.57 MB / 0.5837 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.021/0.4613, allocations: 20.15 MB / 0.6033 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00823/0.4696, allocations: 5.396 MB / 0.6086 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.4706, allocations: 19.12 kB / 0.6086 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.4717, allocations: 283.3 kB / 0.6089 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.4747, allocations: 0.8455 MB / 0.6097 GB, free: 476 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.4777, allocations: 0.819 MB / 0.6105 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003946/0.4817, allocations: 2.288 MB / 0.6128 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.4828, allocations: 432.6 kB / 0.6132 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.4844, allocations: 0.6115 MB / 0.6138 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.4856, allocations: 495.1 kB / 0.6142 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002319/0.4858, allocations: 22.09 kB / 0.6143 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.4887, allocations: 1.088 MB / 0.6153 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.4889, allocations: 128.6 kB / 0.6155 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007015/0.4897, allocations: 326.2 kB / 0.6158 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.4922, allocations: 1.184 MB / 0.6169 GB, free: 12.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4922, allocations: 4 kB / 0.6169 GB, free: 12.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4922, allocations: 0 / 0.6169 GB, free: 12.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.269e-05/0.4923, allocations: 0 / 0.6169 GB, free: 12.11 MB / 462.1 MB 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.002237/0.4945, allocations: 0.9198 MB / 0.6178 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4946, allocations: 9.719 kB / 0.6178 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.4956, allocations: 204.4 kB / 0.618 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.4971, allocations: 0.5593 MB / 0.6186 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/0.4974, allocations: 95.41 kB / 0.6187 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4976, allocations: 38.94 kB / 0.6187 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4988, allocations: 0.4979 MB / 0.6192 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.4988, allocations: 4 kB / 0.6192 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.4989, allocations: 16.47 kB / 0.6192 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.4989, allocations: 9.781 kB / 0.6192 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.5, allocations: 429.1 kB / 0.6196 GB, free: 10.21 MB / 462.1 MB 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.003539/0.5036, allocations: 2.296 MB / 0.6219 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.5047, allocations: 397.5 kB / 0.6222 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/0.5053, allocations: 242.4 kB / 0.6225 GB, free: 7.828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.5056, allocations: 342.5 kB / 0.6228 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000689/0.5063, allocations: 315.1 kB / 0.6231 GB, free: 7.234 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.5063, allocations: 0 / 0.6231 GB, free: 7.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002505/0.5088, allocations: 0.8829 MB / 0.624 GB, free: 6.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.5089, allocations: 85.11 kB / 0.624 GB, free: 6.578 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.5095, allocations: 0.491 MB / 0.6245 GB, free: 6.078 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/0.5096, allocations: 33.7 kB / 0.6246 GB, free: 6.039 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.5099, allocations: 276.4 kB / 0.6248 GB, free: 5.766 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.51, allocations: 110.5 kB / 0.6249 GB, free: 5.656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.51, allocations: 33.7 kB / 0.625 GB, free: 5.617 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.5103, allocations: 366.7 kB / 0.6253 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.5109, allocations: 183.8 kB / 0.6255 GB, free: 5.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.5114, allocations: 277.1 kB / 0.6257 GB, free: 4.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009929/0.5124, allocations: 477.2 kB / 0.6262 GB, free: 4.266 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.5124, allocations: 4 kB / 0.6262 GB, free: 4.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001562/0.514, allocations: 0.6412 MB / 0.6268 GB, free: 3.605 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.5141, allocations: 169.1 kB / 0.627 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.5142, allocations: 0 / 0.627 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/0.5145, allocations: 76.8 kB / 0.6271 GB, free: 3.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.5149, allocations: 83.88 kB / 0.6271 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004833/0.5154, allocations: 0.5952 MB / 0.6277 GB, free: 2.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.5161, allocations: 83.66 kB / 0.6278 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.5161, allocations: 16 kB / 0.6278 GB, free: 2.531 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.5161, allocations: 6.344 kB / 0.6278 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001349/0.5175, allocations: 0.5681 MB / 0.6284 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.5175, allocations: 7.938 kB / 0.6284 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.5177, allocations: 44.83 kB / 0.6284 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.518, allocations: 91.97 kB / 0.6285 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.5196, allocations: 1.642 MB / 0.6301 GB, free: 20 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.5203, allocations: 75.73 kB / 0.6302 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.5203, allocations: 19.98 kB / 0.6302 GB, free: 15.93 MB / 478.1 MB 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.0004129/0.5207, allocations: 298.7 kB / 0.6305 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.5208, allocations: 55.34 kB / 0.6306 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.5223, allocations: 0.6609 MB / 0.6312 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.5224, allocations: 4 kB / 0.6312 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.5224, allocations: 0 / 0.6312 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001352/0.5237, allocations: 0.8264 MB / 0.632 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.5262, allocations: 1.322 MB / 0.6333 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5262, allocations: 0 / 0.6333 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.5266, allocations: 72.05 kB / 0.6334 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.5267, allocations: 44.77 kB / 0.6334 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.5268, allocations: 16 kB / 0.6334 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004025/0.5272, allocations: 0.5757 MB / 0.634 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.2e-05/0.5273, allocations: 4.031 kB / 0.634 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.5292, allocations: 0.9921 MB / 0.635 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.5295, allocations: 188.3 kB / 0.6351 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/0.5296, allocations: 8 kB / 0.6352 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.5303, allocations: 63.91 kB / 0.6352 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.5303, allocations: 31.91 kB / 0.6352 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.5304, allocations: 23.92 kB / 0.6353 GB, free: 10.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004566/0.5309, allocations: 346.8 kB / 0.6356 GB, free: 10.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5309, allocations: 0 / 0.6356 GB, free: 10.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001239/0.5321, allocations: 343.4 kB / 0.6359 GB, free: 9.812 MB / 478.1 MB 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.0007764/0.5329, allocations: 300.2 kB / 0.6362 GB, free: 9.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.5351, allocations: 1.004 MB / 0.6372 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5351, allocations: 0 / 0.6372 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.5358, allocations: 347.2 kB / 0.6375 GB, free: 8.129 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.5373, allocations: 241.2 kB / 0.6378 GB, free: 7.902 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.5397, allocations: 1.384 MB / 0.6391 GB, free: 6.484 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.5402, allocations: 0.8861 MB / 0.64 GB, free: 5.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005337/0.5408, allocations: 124.1 kB / 0.6401 GB, free: 5.449 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.5409, allocations: 47.36 kB / 0.6401 GB, free: 5.402 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5409, allocations: 0 / 0.6401 GB, free: 5.402 MB / 478.1 MB Notification: Performance of Templates: time 0.02054/0.5615, allocations: 11.01 MB / 0.6509 GB, free: 10.56 MB / 494.1 MB 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)