Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.789/2.789, allocations: 287.5 MB / 302.4 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 182 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009212/0.0009216, allocations: 98.62 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005122, allocations: 12.67 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.244, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02351/0.2676, allocations: 19.11 MB / 0.9971 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009397/0.2771, allocations: 5.007 MB / 1.002 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.2781, allocations: 19.81 kB / 1.002 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.2793, allocations: 254.4 kB / 1.002 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.2824, allocations: 0.7433 MB / 1.003 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.2858, allocations: 0.7552 MB / 1.004 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003113/0.2889, allocations: 1.93 MB / 1.006 GB, free: 376 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009119/0.2899, allocations: 399 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.2917, allocations: 0.5874 MB / 1.007 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.2929, allocations: 469.9 kB / 1.007 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.2931, allocations: 20 kB / 1.007 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.2964, allocations: 0.959 MB / 1.008 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003553/0.2968, allocations: 115.5 kB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.2972, allocations: 141.4 kB / 1.008 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.2993, allocations: 0.8185 MB / 1.009 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.2994, allocations: 7.984 kB / 1.009 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2994, allocations: 0 / 1.009 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.2994, allocations: 0 / 1.009 GB, free: 12.85 MB / 0.6355 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.00241/0.3018, allocations: 0.9247 MB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.3019, allocations: 8.031 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.3021, allocations: 82.52 kB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.3036, allocations: 187.1 kB / 1.01 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.3055, allocations: 0.5493 MB / 1.011 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006271/0.3061, allocations: 96.88 kB / 1.011 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3063, allocations: 36 kB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.308, allocations: 0.5038 MB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.308, allocations: 7.938 kB / 1.011 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.3081, allocations: 12 kB / 1.011 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.3081, allocations: 12 kB / 1.011 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.31, allocations: 430.6 kB / 1.012 GB, free: 9.887 MB / 0.6355 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.005032/0.3151, allocations: 2.297 MB / 1.014 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.317, allocations: 391 kB / 1.014 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009248/0.3179, allocations: 236.9 kB / 1.015 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000431/0.3184, allocations: 340.6 kB / 1.015 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.3195, allocations: 314.3 kB / 1.015 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 3.466e-06/0.3195, allocations: 0 / 1.015 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.003989/0.3235, allocations: 0.8841 MB / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.3236, allocations: 85.09 kB / 1.016 GB, free: 5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009192/0.3245, allocations: 491 kB / 1.017 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3247, allocations: 33.7 kB / 1.017 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.325, allocations: 280.4 kB / 1.017 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.3252, allocations: 110.4 kB / 1.017 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3252, allocations: 8 kB / 1.017 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.3254, allocations: 358.8 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008446/0.3263, allocations: 175.9 kB / 1.018 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009389/0.3273, allocations: 281.2 kB / 1.018 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000878/0.3282, allocations: 225.4 kB / 1.018 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3282, allocations: 0 / 1.018 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00259/0.3308, allocations: 0.6279 MB / 1.019 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.331, allocations: 169.3 kB / 1.019 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.331, allocations: 8 kB / 1.019 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/0.3315, allocations: 64.81 kB / 1.019 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/0.3322, allocations: 83.88 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007138/0.333, allocations: 0.5992 MB / 1.02 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.334, allocations: 79.64 kB / 1.02 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.3341, allocations: 19.98 kB / 1.02 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3342, allocations: 7.938 kB / 1.02 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002234/0.3364, allocations: 0.5603 MB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3364, allocations: 4 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/0.3367, allocations: 44.83 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.3374, allocations: 84.03 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.3398, allocations: 1.635 MB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.3408, allocations: 75.69 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/0.3409, allocations: 23.98 kB / 1.022 GB, free: 14.7 MB / 0.6511 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.0005287/0.3415, allocations: 300 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3416, allocations: 55.34 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.3442, allocations: 0.661 MB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.3442, allocations: 4 kB / 1.023 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.3442, allocations: 3.938 kB / 1.023 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002279/0.3465, allocations: 0.8132 MB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.3505, allocations: 1.322 MB / 1.025 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3506, allocations: 0 / 1.025 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.3513, allocations: 76.03 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.3515, allocations: 36.84 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.3516, allocations: 23.92 kB / 1.025 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005534/0.3521, allocations: 0.5719 MB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3522, allocations: 0 / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.3556, allocations: 1.003 MB / 1.027 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.3561, allocations: 184.3 kB / 1.027 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.3562, allocations: 11.95 kB / 1.027 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009931/0.3572, allocations: 63.94 kB / 1.027 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/0.3573, allocations: 27.91 kB / 1.027 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/0.3574, allocations: 23.98 kB / 1.027 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006712/0.3581, allocations: 342.8 kB / 1.027 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3581, allocations: 0 / 1.027 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001647/0.3598, allocations: 339.5 kB / 1.028 GB, free: 8.598 MB / 0.6511 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.00454/0.3643, allocations: 1.699 MB / 1.029 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003595/0.368, allocations: 0.9989 MB / 1.03 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.368, allocations: 0 / 1.03 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.3692, allocations: 331.5 kB / 1.031 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.3718, allocations: 247.7 kB / 1.031 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.3822, allocations: 3.499 MB / 1.034 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.3829, allocations: 0.8784 MB / 1.035 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009831/0.3839, allocations: 132.2 kB / 1.035 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/0.3844, allocations: 195.4 kB / 1.036 GB, free: 448 kB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/0.3844, allocations: 0 / 1.036 GB, free: 448 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08002/0.4644, allocations: 15.98 MB / 1.051 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004108/0.4649, allocations: 269.1 kB / 1.051 GB, free: 380 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/3.9, allocations: 0 / 1.051 GB, free: 380 kB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)