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: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.77/1.77, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001109/0.001109, allocations: 169.1 kB / 371.8 MB, free: 10.29 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.538/1.538, allocations: 205.4 MB / 0.6306 GB, free: 9.914 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.0009058/0.0009059, allocations: 93.52 kB / 0.7439 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004719, allocations: 12.31 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01371/0.2621, allocations: 17.49 MB / 0.9965 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005886/0.268, allocations: 4.634 MB / 1.001 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007138/0.2688, allocations: 19.81 kB / 1.001 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009109/0.2697, allocations: 298.6 kB / 1.001 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.2717, allocations: 0.7892 MB / 1.002 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.2741, allocations: 0.8995 MB / 1.003 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.2755, allocations: 1.032 MB / 1.004 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000511/0.2761, allocations: 403.4 kB / 1.004 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007378/0.2768, allocations: 0.5334 MB / 1.005 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.2772, allocations: 322.6 kB / 1.005 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.308e-05/0.2772, allocations: 28 kB / 1.005 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.2786, allocations: 0.8307 MB / 1.006 GB, free: 400 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2787, allocations: 115.5 kB / 1.006 GB, free: 284 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2789, allocations: 141.3 kB / 1.006 GB, free: 136 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.2799, allocations: 0.7834 MB / 1.007 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2799, allocations: 0 / 1.007 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2799, allocations: 0 / 1.007 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2799, allocations: 0 / 1.007 GB, free: 15.35 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.001622/0.2815, allocations: 0.913 MB / 1.008 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2816, allocations: 12.03 kB / 1.008 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008676/0.2825, allocations: 187.1 kB / 1.008 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.2833, allocations: 0.5026 MB / 1.009 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/0.2837, allocations: 100.9 kB / 1.009 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.2838, allocations: 36 kB / 1.009 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.2847, allocations: 0.4999 MB / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2847, allocations: 0 / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.2848, allocations: 12 kB / 1.009 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.2848, allocations: 12 kB / 1.009 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009804/0.2858, allocations: 430.6 kB / 1.01 GB, free: 12.54 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.003032/0.2889, allocations: 2.316 MB / 1.012 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2899, allocations: 398.9 kB / 1.012 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/0.2902, allocations: 348.7 kB / 1.013 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006763/0.2909, allocations: 308.5 kB / 1.013 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.785e-06/0.2909, allocations: 0 / 1.013 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.00228/0.2932, allocations: 0.9595 MB / 1.014 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.2933, allocations: 89.06 kB / 1.014 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/0.2938, allocations: 0.495 MB / 1.014 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.2939, allocations: 33.7 kB / 1.014 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.2941, allocations: 272.4 kB / 1.015 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.2942, allocations: 102.5 kB / 1.015 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.2942, allocations: 4 kB / 1.015 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2944, allocations: 374.8 kB / 1.015 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.2949, allocations: 175.9 kB / 1.015 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.2954, allocations: 269 kB / 1.016 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.2959, allocations: 221.6 kB / 1.016 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2959, allocations: 4 kB / 1.016 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001342/0.2972, allocations: 0.6281 MB / 1.016 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000291/0.2976, allocations: 0.6452 MB / 1.017 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2976, allocations: 0 / 1.017 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.2979, allocations: 76.81 kB / 1.017 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.2983, allocations: 83.88 kB / 1.017 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005096/0.2988, allocations: 0.603 MB / 1.018 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.2994, allocations: 75.7 kB / 1.018 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.2994, allocations: 23.92 kB / 1.018 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.2994, allocations: 5.406 kB / 1.018 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001183/0.3006, allocations: 0.5526 MB / 1.018 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.3006, allocations: 0 / 1.018 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.3008, allocations: 56.84 kB / 1.019 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.3011, allocations: 84.03 kB / 1.019 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.3027, allocations: 1.635 MB / 1.02 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.3032, allocations: 79.72 kB / 1.02 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.3032, allocations: 16 kB / 1.02 GB, free: 0.957 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.0003663/0.3036, allocations: 308.8 kB / 1.021 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.574e-05/0.3037, allocations: 55.34 kB / 1.021 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.3051, allocations: 0.6651 MB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3052, allocations: 7.953 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.3052, allocations: 3.938 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/0.3064, allocations: 0.8131 MB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.3087, allocations: 1.322 MB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3087, allocations: 0 / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.309, allocations: 76.03 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.3092, allocations: 36.83 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.3092, allocations: 19.98 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003795/0.3096, allocations: 0.5679 MB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.3096, allocations: 4.031 kB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.3116, allocations: 1.048 MB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.3119, allocations: 192.2 kB / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.312, allocations: 12 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/0.3125, allocations: 68 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.3126, allocations: 15.97 kB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.3126, allocations: 23.92 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004044/0.3131, allocations: 350.8 kB / 1.026 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3131, allocations: 0 / 1.026 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001146/0.3142, allocations: 347.4 kB / 1.026 GB, free: 10.76 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.0007452/0.315, allocations: 314.7 kB / 1.026 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002175/0.3172, allocations: 1.002 MB / 1.027 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3172, allocations: 0 / 1.027 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.3178, allocations: 335.3 kB / 1.028 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.3192, allocations: 243.7 kB / 1.028 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.3215, allocations: 1.332 MB / 1.029 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.322, allocations: 0.8979 MB / 1.03 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005407/0.3225, allocations: 124.3 kB / 1.03 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3227, allocations: 47.36 kB / 1.03 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/0.3227, allocations: 0 / 1.03 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of Templates: time 0.019/0.3417, allocations: 10.96 MB / 1.041 GB, free: 11.54 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)