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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007308/0.0007308, allocations: 91.38 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.004556/0.004556, allocations: 172.4 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.307/1.307, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7742/0.7742, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 8 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3482, allocations: 81.57 MB / 0.5837 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01965/0.3679, allocations: 20.15 MB / 0.6034 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007181/0.3751, allocations: 5.398 MB / 0.6087 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.3757, allocations: 18.84 kB / 0.6087 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007251/0.3764, allocations: 288.6 kB / 0.609 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.3783, allocations: 0.8484 MB / 0.6098 GB, free: 292 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.3802, allocations: 0.8085 MB / 0.6106 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.3823, allocations: 2.287 MB / 0.6128 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/0.3829, allocations: 438.6 kB / 0.6133 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008656/0.3837, allocations: 0.6114 MB / 0.6139 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005259/0.3843, allocations: 490 kB / 0.6143 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.3843, allocations: 26.81 kB / 0.6143 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.3859, allocations: 1.092 MB / 0.6154 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.386, allocations: 124.7 kB / 0.6155 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.3863, allocations: 325.7 kB / 0.6158 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.3876, allocations: 1.18 MB / 0.617 GB, free: 11.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.3876, allocations: 0 / 0.617 GB, free: 11.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3876, allocations: 1.031 kB / 0.617 GB, free: 11.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.3876, allocations: 0 / 0.617 GB, free: 11.94 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.001318/0.3889, allocations: 0.9241 MB / 0.6179 GB, free: 11.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.389, allocations: 9.375 kB / 0.6179 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.153e-05/0.3891, allocations: 76.88 kB / 0.618 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008302/0.3899, allocations: 202.1 kB / 0.6182 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008874/0.3908, allocations: 0.5553 MB / 0.6187 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/0.3911, allocations: 93.31 kB / 0.6188 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.3912, allocations: 41.03 kB / 0.6188 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.3921, allocations: 0.4987 MB / 0.6193 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3922, allocations: 0 / 0.6193 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.3922, allocations: 20.77 kB / 0.6193 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.3922, allocations: 14.06 kB / 0.6194 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009826/0.3932, allocations: 437 kB / 0.6198 GB, free: 9.957 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.002541/0.3958, allocations: 2.291 MB / 0.622 GB, free: 7.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009764/0.3968, allocations: 406.7 kB / 0.6224 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/0.3973, allocations: 233.5 kB / 0.6226 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.3975, allocations: 338.6 kB / 0.6229 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.3981, allocations: 317.6 kB / 0.6233 GB, free: 6.984 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.3981, allocations: 0 / 0.6233 GB, free: 6.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002116/0.4003, allocations: 0.8833 MB / 0.6241 GB, free: 6.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4003, allocations: 85.11 kB / 0.6242 GB, free: 6.309 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.4008, allocations: 0.491 MB / 0.6247 GB, free: 5.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.4008, allocations: 37.64 kB / 0.6247 GB, free: 5.766 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.401, allocations: 276.4 kB / 0.625 GB, free: 5.492 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.4011, allocations: 110.5 kB / 0.6251 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.4012, allocations: 29.7 kB / 0.6251 GB, free: 5.348 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4013, allocations: 366.7 kB / 0.6255 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.4017, allocations: 183.9 kB / 0.6256 GB, free: 4.801 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.4022, allocations: 280.9 kB / 0.6259 GB, free: 4.496 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.4031, allocations: 489.1 kB / 0.6264 GB, free: 3.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4031, allocations: 0 / 0.6264 GB, free: 3.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001312/0.4045, allocations: 0.6411 MB / 0.627 GB, free: 3.328 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.136e-05/0.4046, allocations: 165.1 kB / 0.6272 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4046, allocations: 4 kB / 0.6272 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/0.4049, allocations: 68.8 kB / 0.6272 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.4052, allocations: 87.88 kB / 0.6273 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003823/0.4056, allocations: 0.5914 MB / 0.6279 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.4061, allocations: 83.62 kB / 0.628 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.4062, allocations: 16 kB / 0.628 GB, free: 2.262 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-06/0.4062, allocations: 4 kB / 0.628 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/0.4073, allocations: 0.5681 MB / 0.6285 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.4074, allocations: 4 kB / 0.6285 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.4075, allocations: 44.83 kB / 0.6286 GB, free: 1.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.4078, allocations: 88.03 kB / 0.6287 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.409, allocations: 1.643 MB / 0.6303 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.4095, allocations: 75.73 kB / 0.6303 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.4096, allocations: 19.98 kB / 0.6304 GB, free: 15.66 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.0002391/0.4098, allocations: 298.7 kB / 0.6306 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.4099, allocations: 55.34 kB / 0.6307 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.4112, allocations: 0.6725 MB / 0.6314 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.4112, allocations: 4 kB / 0.6314 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.4112, allocations: 0 / 0.6314 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/0.4124, allocations: 0.8225 MB / 0.6322 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.4144, allocations: 1.322 MB / 0.6335 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4144, allocations: 0 / 0.6335 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.4147, allocations: 67.95 kB / 0.6335 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.4149, allocations: 52.86 kB / 0.6336 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.4149, allocations: 12 kB / 0.6336 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003/0.4152, allocations: 0.5718 MB / 0.6341 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4152, allocations: 4 kB / 0.6341 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.417, allocations: 0.9998 MB / 0.6351 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.4172, allocations: 196 kB / 0.6353 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.4173, allocations: 12 kB / 0.6353 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.4178, allocations: 60 kB / 0.6354 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.4178, allocations: 20.03 kB / 0.6354 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.4179, allocations: 23.98 kB / 0.6354 GB, free: 10.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.4182, allocations: 350.8 kB / 0.6358 GB, free: 9.875 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4182, allocations: 4 kB / 0.6358 GB, free: 9.871 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008906/0.4191, allocations: 335.5 kB / 0.6361 GB, free: 9.543 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.002371/0.4215, allocations: 1.718 MB / 0.6378 GB, free: 7.793 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.4233, allocations: 0.9986 MB / 0.6387 GB, free: 6.758 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4233, allocations: 4 kB / 0.6387 GB, free: 6.754 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.4239, allocations: 340.2 kB / 0.6391 GB, free: 6.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.4253, allocations: 245.5 kB / 0.6393 GB, free: 6.176 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007116/0.4324, allocations: 5.233 MB / 0.6444 GB, free: 0.793 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.4328, allocations: 0.8823 MB / 0.6453 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004426/0.4332, allocations: 128.4 kB / 0.6454 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.4335, allocations: 191.4 kB / 0.6456 GB, free: 15.57 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4335, allocations: 0 / 0.6456 GB, free: 15.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.193/2.627, allocations: 15.96 MB / 0.6612 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/2.627, allocations: 266.1 kB / 0.6614 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/4.864, allocations: 0 / 0.6614 GB, free: 15.6 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)