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.001/0.001, allocations: 99.31 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.001045/0.001045, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.589/2.589, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.32/1.32, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006683/0.0006685, allocations: 8 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.923, allocations: 81.57 MB / 0.583 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.04043/0.9635, allocations: 17.48 MB / 0.6 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01626/0.9798, allocations: 4.657 MB / 0.6046 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.9822, allocations: 18.84 kB / 0.6046 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.9846, allocations: 300.9 kB / 0.6049 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006313/0.9909, allocations: 0.8128 MB / 0.6057 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006328/0.9973, allocations: 0.9025 MB / 0.6066 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004606/1.002, allocations: 1.039 MB / 0.6076 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/1.004, allocations: 413.2 kB / 0.608 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/1.006, allocations: 0.532 MB / 0.6085 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/1.007, allocations: 341.8 kB / 0.6088 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/1.007, allocations: 22.66 kB / 0.6088 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003662/1.011, allocations: 0.8296 MB / 0.6096 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/1.011, allocations: 116.5 kB / 0.6098 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004257/1.012, allocations: 138.3 kB / 0.6099 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/1.014, allocations: 0.7795 MB / 0.6107 GB, free: 400 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.014, allocations: 0 / 0.6107 GB, free: 400 kB / 446.1 MB Notification: Performance of FrontEnd: time 3.416e-06/1.014, allocations: 0 / 0.6107 GB, free: 400 kB / 446.1 MB Notification: Performance of Transformations before backend: time 2.474e-05/1.014, allocations: 0.875 kB / 0.6107 GB, free: 400 kB / 446.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.003299/1.018, allocations: 0.9103 MB / 0.6115 GB, free: 15.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/1.018, allocations: 8.875 kB / 0.6116 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002041/1.018, allocations: 75.41 kB / 0.6116 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/1.02, allocations: 194.5 kB / 0.6118 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/1.021, allocations: 0.513 MB / 0.6123 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006579/1.022, allocations: 95.64 kB / 0.6124 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.022, allocations: 39 kB / 0.6124 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/1.024, allocations: 0.4958 MB / 0.6129 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/1.024, allocations: 4.969 kB / 0.6129 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-05/1.024, allocations: 16.03 kB / 0.6129 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.354e-05/1.024, allocations: 9.344 kB / 0.613 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/1.026, allocations: 432.1 kB / 0.6134 GB, free: 14.46 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.006487/1.033, allocations: 2.314 MB / 0.6156 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/1.035, allocations: 396.2 kB / 0.616 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000552/1.036, allocations: 340.9 kB / 0.6163 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/1.037, allocations: 304.4 kB / 0.6166 GB, free: 11.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 7.724e-06/1.037, allocations: 1.031 kB / 0.6166 GB, free: 11.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.004993/1.042, allocations: 0.9627 MB / 0.6176 GB, free: 11.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.042, allocations: 82.17 kB / 0.6176 GB, free: 10.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/1.044, allocations: 0.493 MB / 0.6181 GB, free: 10.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/1.044, allocations: 33.08 kB / 0.6181 GB, free: 10.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/1.044, allocations: 275.8 kB / 0.6184 GB, free: 10.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/1.045, allocations: 120.2 kB / 0.6185 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/1.045, allocations: 6.688 kB / 0.6185 GB, free: 10.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003551/1.045, allocations: 363.6 kB / 0.6189 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/1.046, allocations: 176.2 kB / 0.619 GB, free: 9.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.047, allocations: 278.5 kB / 0.6193 GB, free: 9.617 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009491/1.048, allocations: 223.3 kB / 0.6195 GB, free: 9.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.048, allocations: 0 / 0.6195 GB, free: 9.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003041/1.051, allocations: 0.6266 MB / 0.6201 GB, free: 9.176 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005382/1.052, allocations: 0.641 MB / 0.6208 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.052, allocations: 2.062 kB / 0.6208 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/1.052, allocations: 74.34 kB / 0.6208 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/1.053, allocations: 79.58 kB / 0.6209 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009707/1.054, allocations: 0.611 MB / 0.6215 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.055, allocations: 78.19 kB / 0.6216 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/1.055, allocations: 20.39 kB / 0.6216 GB, free: 7.805 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.055, allocations: 3.938 kB / 0.6216 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00244/1.058, allocations: 0.5602 MB / 0.6222 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.058, allocations: 1.219 kB / 0.6222 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/1.058, allocations: 55.03 kB / 0.6222 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/1.059, allocations: 79.86 kB / 0.6223 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/1.062, allocations: 1.639 MB / 0.6239 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.063, allocations: 79.92 kB / 0.624 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/1.063, allocations: 19.98 kB / 0.624 GB, free: 5.73 MB / 462.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 ($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.0007399/1.064, allocations: 294.7 kB / 0.6243 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/1.064, allocations: 59.34 kB / 0.6243 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/1.067, allocations: 0.6611 MB / 0.625 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/1.067, allocations: 7.953 kB / 0.625 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.067, allocations: 7.922 kB / 0.625 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002362/1.069, allocations: 0.8147 MB / 0.6258 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004599/1.074, allocations: 1.326 MB / 0.6271 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.074, allocations: 4 kB / 0.6271 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/1.074, allocations: 71.97 kB / 0.6271 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/1.075, allocations: 40.84 kB / 0.6272 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/1.075, allocations: 11.98 kB / 0.6272 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006798/1.075, allocations: 0.5874 MB / 0.6278 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.075, allocations: 0 / 0.6278 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/1.079, allocations: 1.028 MB / 0.6288 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/1.08, allocations: 188.2 kB / 0.6289 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/1.08, allocations: 15.98 kB / 0.629 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.081, allocations: 60.02 kB / 0.629 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.081, allocations: 23.97 kB / 0.629 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-05/1.081, allocations: 19.98 kB / 0.6291 GB, free: 240 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008247/1.082, allocations: 354.8 kB / 0.6294 GB, free: 15.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.082, allocations: 0 / 0.6294 GB, free: 15.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002229/1.084, allocations: 347.4 kB / 0.6297 GB, free: 15.55 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 (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.005219/1.09, allocations: 1.949 MB / 0.6316 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003875/1.094, allocations: 0.9989 MB / 0.6326 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.094, allocations: 4.062 kB / 0.6326 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/1.095, allocations: 332.2 kB / 0.6329 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/1.098, allocations: 240.7 kB / 0.6332 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.11, allocations: 4.41 MB / 0.6375 GB, free: 7.453 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007962/1.111, allocations: 0.8901 MB / 0.6383 GB, free: 6.535 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001154/1.112, allocations: 127.8 kB / 0.6385 GB, free: 6.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/1.113, allocations: 203.4 kB / 0.6387 GB, free: 6.211 MB / 478.1 MB Notification: Performance of SimCode: time 1.893e-06/1.113, allocations: 0 / 0.6387 GB, free: 6.211 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06265/1.175, allocations: 16.25 MB / 0.6545 GB, free: 6.305 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003563/1.176, allocations: 249.8 kB / 0.6548 GB, free: 5.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.387/4.563, allocations: 0 / 0.6548 GB, free: 5.98 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: