Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.713/1.713, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 191.5 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009352/0.0009351, allocations: 96.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 9.438 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01578/0.2492, allocations: 17.5 MB / 0.9172 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006446/0.2557, allocations: 4.622 MB / 0.9217 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007975/0.2566, allocations: 15.88 kB / 0.9218 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.2576, allocations: 298.6 kB / 0.922 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.26, allocations: 0.8045 MB / 0.9228 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.2624, allocations: 0.8538 MB / 0.9237 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.2642, allocations: 1.031 MB / 0.9247 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005986/0.2648, allocations: 397.2 kB / 0.9251 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.2657, allocations: 0.5256 MB / 0.9256 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004229/0.2662, allocations: 330.5 kB / 0.9259 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.2662, allocations: 24 kB / 0.9259 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.2679, allocations: 0.8269 MB / 0.9267 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.2681, allocations: 115.5 kB / 0.9268 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.2682, allocations: 137.4 kB / 0.927 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.2692, allocations: 0.7798 MB / 0.9277 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2692, allocations: 0 / 0.9277 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2693, allocations: 0 / 0.9277 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.2693, allocations: 0 / 0.9277 GB, free: 35.51 MB / 0.6042 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.001432/0.2707, allocations: 0.9091 MB / 0.9286 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2708, allocations: 20.02 kB / 0.9286 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.804e-05/0.2708, allocations: 74.53 kB / 0.9287 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008124/0.2717, allocations: 195 kB / 0.9289 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007347/0.2724, allocations: 0.5026 MB / 0.9294 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/0.2727, allocations: 96.94 kB / 0.9295 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.2728, allocations: 39.94 kB / 0.9295 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.2737, allocations: 496 kB / 0.93 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2737, allocations: 4 kB / 0.93 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.2737, allocations: 16 kB / 0.93 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.2738, allocations: 15.98 kB / 0.93 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009003/0.2747, allocations: 422.6 kB / 0.9304 GB, free: 32.62 MB / 0.6042 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.00256/0.2772, allocations: 2.309 MB / 0.9327 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/0.2782, allocations: 398.9 kB / 0.933 GB, free: 29.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.2785, allocations: 336.6 kB / 0.9334 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/0.2791, allocations: 310.6 kB / 0.9337 GB, free: 28.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/0.2791, allocations: 0 / 0.9337 GB, free: 28.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002064/0.2811, allocations: 0.9564 MB / 0.9346 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2812, allocations: 101 kB / 0.9347 GB, free: 27.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.2817, allocations: 498.9 kB / 0.9352 GB, free: 27.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.2817, allocations: 33.7 kB / 0.9352 GB, free: 27.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.2819, allocations: 284.4 kB / 0.9355 GB, free: 27.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.282, allocations: 106.4 kB / 0.9356 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.282, allocations: 4 kB / 0.9356 GB, free: 26.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.2821, allocations: 366.8 kB / 0.9359 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.2825, allocations: 179.9 kB / 0.9361 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.2829, allocations: 265.1 kB / 0.9364 GB, free: 26.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.2834, allocations: 225.5 kB / 0.9366 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2834, allocations: 4 kB / 0.9366 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001273/0.2847, allocations: 0.6319 MB / 0.9372 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.2848, allocations: 0.6453 MB / 0.9378 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2848, allocations: 0 / 0.9378 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.2852, allocations: 68.88 kB / 0.9379 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.2855, allocations: 87.88 kB / 0.938 GB, free: 24.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/0.2859, allocations: 0.5952 MB / 0.9385 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.2865, allocations: 83.69 kB / 0.9386 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.2865, allocations: 20.06 kB / 0.9386 GB, free: 23.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.2865, allocations: 6.5 kB / 0.9387 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001155/0.2877, allocations: 0.5528 MB / 0.9392 GB, free: 23.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2877, allocations: 3.953 kB / 0.9392 GB, free: 23.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.2879, allocations: 48.83 kB / 0.9392 GB, free: 23.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.2882, allocations: 87.97 kB / 0.9393 GB, free: 22.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.2894, allocations: 1.631 MB / 0.9409 GB, free: 21.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.29, allocations: 79.72 kB / 0.941 GB, free: 21.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.29, allocations: 16 kB / 0.941 GB, free: 21.05 MB / 0.6042 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.0003439/0.2904, allocations: 303.8 kB / 0.9413 GB, free: 20.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.2904, allocations: 59.34 kB / 0.9414 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.2917, allocations: 0.6689 MB / 0.942 GB, free: 19.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.2917, allocations: 7.938 kB / 0.942 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2918, allocations: 0 / 0.942 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.2928, allocations: 0.8209 MB / 0.9428 GB, free: 19.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.2948, allocations: 1.311 MB / 0.9441 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2948, allocations: 4.094 kB / 0.9441 GB, free: 17.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.2952, allocations: 67.88 kB / 0.9442 GB, free: 17.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.2953, allocations: 44.83 kB / 0.9442 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.2953, allocations: 15.98 kB / 0.9442 GB, free: 17.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002628/0.2956, allocations: 0.5719 MB / 0.9448 GB, free: 16.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2956, allocations: 3.938 kB / 0.9448 GB, free: 16.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.2973, allocations: 1.036 MB / 0.9458 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.2975, allocations: 184.3 kB / 0.946 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.2976, allocations: 8 kB / 0.946 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/0.2982, allocations: 71.84 kB / 0.9461 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.2982, allocations: 19.97 kB / 0.9461 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.2983, allocations: 23.98 kB / 0.9461 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003663/0.2987, allocations: 354.8 kB / 0.9464 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2987, allocations: 4 kB / 0.9464 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001061/0.2997, allocations: 339.5 kB / 0.9468 GB, free: 14.87 MB / 0.6042 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.002462/0.3022, allocations: 1.974 MB / 0.9487 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.3042, allocations: 0.9958 MB / 0.9497 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3042, allocations: 4 kB / 0.9497 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005487/0.3048, allocations: 325.5 kB / 0.95 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.3061, allocations: 244.2 kB / 0.9502 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.3117, allocations: 4.373 MB / 0.9545 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.312, allocations: 0.89 MB / 0.9553 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005781/0.3126, allocations: 128.3 kB / 0.9555 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.3128, allocations: 203.3 kB / 0.9557 GB, free: 5.539 MB / 0.6042 GB Notification: Performance of SimCode: time 2.535e-06/0.3128, allocations: 0 / 0.9557 GB, free: 5.539 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.3499, allocations: 16.2 MB / 0.9715 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.3503, allocations: 268.5 kB / 0.9717 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.046, allocations: 6.891 kB / 0.9717 GB, free: 5.246 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)