Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.526/1.526, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.0008819/0.000882, allocations: 188.4 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0007452/0.0007454, allocations: 90.31 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 12.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2192, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01544/0.2347, allocations: 19.11 MB / 0.9989 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006079/0.2408, allocations: 5.014 MB / 1.004 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008896/0.2417, allocations: 19.81 kB / 1.004 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009584/0.2427, allocations: 250.5 kB / 1.004 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.2459, allocations: 0.7908 MB / 1.005 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.2491, allocations: 0.7724 MB / 1.006 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003395/0.2525, allocations: 1.949 MB / 1.007 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.2538, allocations: 420.5 kB / 1.008 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.2558, allocations: 0.5991 MB / 1.008 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.2572, allocations: 470 kB / 1.009 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.2575, allocations: 20 kB / 1.009 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003275/0.2608, allocations: 1.045 MB / 1.01 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.2611, allocations: 123.5 kB / 1.01 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008167/0.262, allocations: 308.2 kB / 1.01 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.2641, allocations: 0.8536 MB / 1.011 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2642, allocations: 4 kB / 1.011 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2642, allocations: 0 / 1.011 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.88e-05/0.2642, allocations: 0 / 1.011 GB, free: 11.42 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.002693/0.2669, allocations: 0.9258 MB / 1.012 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.267, allocations: 12.03 kB / 1.012 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/0.2672, allocations: 70.72 kB / 1.012 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.2686, allocations: 196 kB / 1.012 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.2701, allocations: 0.5686 MB / 1.013 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/0.2705, allocations: 96.94 kB / 1.013 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.2706, allocations: 40 kB / 1.013 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.2718, allocations: 0.4921 MB / 1.013 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.2718, allocations: 3.938 kB / 1.013 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/0.2719, allocations: 16 kB / 1.014 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.2719, allocations: 12 kB / 1.014 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.2731, allocations: 426.6 kB / 1.014 GB, free: 8.449 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.003393/0.2766, allocations: 2.301 MB / 1.016 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.2778, allocations: 387 kB / 1.017 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.2784, allocations: 233 kB / 1.017 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.2787, allocations: 344.7 kB / 1.017 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007586/0.2795, allocations: 320 kB / 1.017 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 3.266e-06/0.2795, allocations: 0 / 1.017 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.002502/0.282, allocations: 0.8957 MB / 1.018 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.2821, allocations: 81.11 kB / 1.018 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.2826, allocations: 487 kB / 1.019 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.2827, allocations: 37.7 kB / 1.019 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.2829, allocations: 276.4 kB / 1.019 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.283, allocations: 106.5 kB / 1.019 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.283, allocations: 4 kB / 1.019 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2832, allocations: 370.8 kB / 1.02 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004456/0.2836, allocations: 175.9 kB / 1.02 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.2841, allocations: 284.8 kB / 1.02 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.2851, allocations: 484.9 kB / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2851, allocations: 0 / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001361/0.2865, allocations: 0.6241 MB / 1.021 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2866, allocations: 164 kB / 1.021 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2866, allocations: 7.984 kB / 1.021 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.287, allocations: 68.77 kB / 1.021 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.2874, allocations: 79.95 kB / 1.021 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000457/0.2878, allocations: 0.5991 MB / 1.022 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/0.2884, allocations: 79.7 kB / 1.022 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.2885, allocations: 15.98 kB / 1.022 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2885, allocations: 7.938 kB / 1.022 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/0.2897, allocations: 0.5527 MB / 1.023 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.2897, allocations: 0 / 1.023 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.2899, allocations: 48.83 kB / 1.023 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.2902, allocations: 84.05 kB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.2917, allocations: 1.646 MB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.2922, allocations: 79.73 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.2923, allocations: 15.98 kB / 1.024 GB, free: 12.98 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.0003703/0.2926, allocations: 302.7 kB / 1.025 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.2927, allocations: 63.19 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.2941, allocations: 0.657 MB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.2941, allocations: 4 kB / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.2942, allocations: 0 / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/0.2954, allocations: 0.821 MB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.2976, allocations: 1.322 MB / 1.028 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.2976, allocations: 0 / 1.028 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.2979, allocations: 71.98 kB / 1.028 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.2981, allocations: 40.83 kB / 1.028 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.2981, allocations: 12 kB / 1.028 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003571/0.2985, allocations: 0.5834 MB / 1.028 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2985, allocations: 4.031 kB / 1.028 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.3003, allocations: 1 MB / 1.029 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.3006, allocations: 184.3 kB / 1.029 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.3007, allocations: 8 kB / 1.029 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.3012, allocations: 60 kB / 1.029 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.3013, allocations: 23.97 kB / 1.029 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.3014, allocations: 23.98 kB / 1.029 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003585/0.3017, allocations: 342.8 kB / 1.03 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3017, allocations: 0 / 1.03 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001034/0.3028, allocations: 339.5 kB / 1.03 GB, free: 6.875 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.002604/0.3054, allocations: 1.716 MB / 1.032 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.3074, allocations: 0.998 MB / 1.033 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3075, allocations: 0 / 1.033 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006172/0.3081, allocations: 335.4 kB / 1.033 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.3095, allocations: 240 kB / 1.033 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005914/0.3155, allocations: 3.496 MB / 1.037 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.3159, allocations: 0.8745 MB / 1.038 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005805/0.3165, allocations: 136.2 kB / 1.038 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.3168, allocations: 191.4 kB / 1.038 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of SimCode: time 2.676e-06/0.3168, allocations: 0 / 1.038 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7095/1.026, allocations: 16.16 MB / 1.054 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/1.027, allocations: 257.9 kB / 1.054 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/3.867, allocations: 0 / 1.054 GB, free: 14.47 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)