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 3.007/3.007, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001739/0.001739, allocations: 188.2 kB / 370.8 MB, free: 10.88 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.119/2.119, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001134/0.001134, allocations: 100.7 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005073/0.0005075, allocations: 16.34 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2028, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02104/0.2239, allocations: 17.48 MB / 0.9954 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008434/0.2324, allocations: 4.628 MB / 0.9999 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008087/0.2333, allocations: 19.88 kB / 0.9999 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.2344, allocations: 302.5 kB / 1 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.2372, allocations: 0.7946 MB / 1.001 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003627/0.2409, allocations: 0.9 MB / 1.002 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002055/0.2429, allocations: 1.026 MB / 1.003 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006884/0.2436, allocations: 407 kB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.2447, allocations: 0.5295 MB / 1.004 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005066/0.2453, allocations: 338.5 kB / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.4e-05/0.2454, allocations: 20 kB / 1.004 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.2475, allocations: 0.8346 MB / 1.005 GB, free: 1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.2477, allocations: 111.6 kB / 1.005 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.2479, allocations: 141.4 kB / 1.005 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.2493, allocations: 0.7756 MB / 1.006 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2493, allocations: 4 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2493, allocations: 0 / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.986e-06/0.2494, allocations: 0 / 1.006 GB, free: 15.96 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.00219/0.2516, allocations: 0.9091 MB / 1.007 GB, free: 15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.2516, allocations: 8.031 kB / 1.007 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.2518, allocations: 78.52 kB / 1.007 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.2533, allocations: 195.1 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.2545, allocations: 0.5026 MB / 1.008 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006092/0.2551, allocations: 96.88 kB / 1.008 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.2553, allocations: 40 kB / 1.008 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.2569, allocations: 0.4921 MB / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.2569, allocations: 0 / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.257, allocations: 16 kB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.257, allocations: 12 kB / 1.008 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.2589, allocations: 430.6 kB / 1.009 GB, free: 13.07 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.004734/0.2636, allocations: 2.328 MB / 1.011 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.2655, allocations: 398.9 kB / 1.011 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003978/0.2659, allocations: 336.7 kB / 1.012 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.267, allocations: 314.7 kB / 1.012 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.835e-06/0.267, allocations: 0 / 1.012 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.003895/0.2709, allocations: 0.9556 MB / 1.013 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.271, allocations: 85.05 kB / 1.013 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008726/0.2719, allocations: 0.495 MB / 1.013 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.272, allocations: 37.7 kB / 1.013 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.2723, allocations: 280.4 kB / 1.014 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.2725, allocations: 106.5 kB / 1.014 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.2725, allocations: 4 kB / 1.014 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.2727, allocations: 358.8 kB / 1.014 GB, free: 7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00081/0.2735, allocations: 179.9 kB / 1.014 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009057/0.2745, allocations: 273.3 kB / 1.015 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.2753, allocations: 229.4 kB / 1.015 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.2754, allocations: 0 / 1.015 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002498/0.2779, allocations: 0.6282 MB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003419/0.2782, allocations: 0.6492 MB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2783, allocations: 4 kB / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.2788, allocations: 60.81 kB / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.2795, allocations: 83.88 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006758/0.2801, allocations: 0.6069 MB / 1.017 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.2811, allocations: 87.47 kB / 1.017 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.2812, allocations: 16 kB / 1.017 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.2812, allocations: 4 kB / 1.017 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002195/0.2834, allocations: 0.5643 MB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2835, allocations: 0 / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/0.2837, allocations: 52.98 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.2845, allocations: 79.88 kB / 1.018 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.2867, allocations: 1.631 MB / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009711/0.2877, allocations: 79.69 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.2878, allocations: 15.94 kB / 1.019 GB, free: 1.484 MB / 0.6355 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.0005288/0.2883, allocations: 303.6 kB / 1.02 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.2885, allocations: 59.34 kB / 1.02 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.291, allocations: 0.6689 MB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.291, allocations: 11.92 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.291, allocations: 4 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002465/0.2935, allocations: 0.8132 MB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.2974, allocations: 1.327 MB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2975, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/0.2981, allocations: 67.98 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.2983, allocations: 44.83 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.2984, allocations: 8 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005331/0.2989, allocations: 0.5797 MB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.299, allocations: 3.938 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.3024, allocations: 1.047 MB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.3029, allocations: 192.4 kB / 1.024 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.3031, allocations: 8 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.3041, allocations: 59.94 kB / 1.024 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3042, allocations: 23.97 kB / 1.024 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/0.3043, allocations: 19.94 kB / 1.024 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006541/0.305, allocations: 350.8 kB / 1.025 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/0.305, allocations: 4 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001697/0.3067, allocations: 351.4 kB / 1.025 GB, free: 11.28 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.004645/0.3114, allocations: 1.944 MB / 1.027 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003771/0.3152, allocations: 0.9989 MB / 1.028 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.904e-06/0.3152, allocations: 0 / 1.028 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.3165, allocations: 331.4 kB / 1.028 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.3189, allocations: 240 kB / 1.028 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.3304, allocations: 4.404 MB / 1.033 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.3311, allocations: 0.89 MB / 1.034 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001007/0.3321, allocations: 128.3 kB / 1.034 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.3326, allocations: 199.3 kB / 1.034 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of SimCode: time 1.302e-06/0.3326, allocations: 0 / 1.034 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06473/0.3974, allocations: 16.25 MB / 1.05 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004096/0.3978, allocations: 258.8 kB / 1.05 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.162/3.56, allocations: 3.094 kB / 1.05 GB, free: 1.613 MB / 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)