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: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.743/2.743, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001663/0.001663, allocations: 180.6 kB / 370.8 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.084/2.084, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001636/0.001636, allocations: 101.2 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005027, allocations: 16.92 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02349/0.2363, allocations: 17.49 MB / 0.9953 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0087/0.245, allocations: 4.622 MB / 0.9998 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008746/0.246, allocations: 27.81 kB / 0.9998 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.2473, allocations: 294.6 kB / 1 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.2506, allocations: 0.7895 MB / 1.001 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.2547, allocations: 0.9072 MB / 1.002 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.2572, allocations: 1.024 MB / 1.003 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009343/0.2582, allocations: 403.4 kB / 1.003 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.2598, allocations: 0.5373 MB / 1.004 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007047/0.2606, allocations: 326.6 kB / 1.004 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.2607, allocations: 24 kB / 1.004 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.2633, allocations: 0.8307 MB / 1.005 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.2637, allocations: 111.6 kB / 1.005 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.2641, allocations: 145.3 kB / 1.005 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.266, allocations: 0.7834 MB / 1.006 GB, free: 16 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2661, allocations: 0 / 1.006 GB, free: 16 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2661, allocations: 4 kB / 1.006 GB, free: 12 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.2661, allocations: 0 / 1.006 GB, free: 12 kB / 0.6198 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.002578/0.2687, allocations: 0.9091 MB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2688, allocations: 12.03 kB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.2704, allocations: 191.1 kB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.2719, allocations: 0.5026 MB / 1.007 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006526/0.2726, allocations: 96.94 kB / 1.007 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.2728, allocations: 40 kB / 1.008 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.2745, allocations: 0.496 MB / 1.008 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.2746, allocations: 0 / 1.008 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.185e-05/0.2747, allocations: 19.94 kB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.2747, allocations: 12 kB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.2767, allocations: 422.6 kB / 1.008 GB, free: 13.21 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.005333/0.2821, allocations: 2.324 MB / 1.011 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.2841, allocations: 398.9 kB / 1.011 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.2846, allocations: 340.7 kB / 1.011 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.2858, allocations: 314.6 kB / 1.012 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 4.278e-06/0.2858, allocations: 0 / 1.012 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.004146/0.29, allocations: 0.9517 MB / 1.013 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.2901, allocations: 81.11 kB / 1.013 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009422/0.291, allocations: 0.4989 MB / 1.013 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.2912, allocations: 33.7 kB / 1.013 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.2915, allocations: 276.4 kB / 1.013 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.2917, allocations: 98.55 kB / 1.014 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.2917, allocations: 12 kB / 1.014 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.292, allocations: 362.8 kB / 1.014 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008606/0.2928, allocations: 175.9 kB / 1.014 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009504/0.2938, allocations: 273.2 kB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009045/0.2947, allocations: 221.5 kB / 1.015 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.822e-06/0.2948, allocations: 0 / 1.015 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002708/0.2975, allocations: 0.636 MB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003723/0.2979, allocations: 0.6453 MB / 1.016 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2979, allocations: 4 kB / 1.016 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.2985, allocations: 64.75 kB / 1.016 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007236/0.2992, allocations: 83.88 kB / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007499/0.3, allocations: 0.603 MB / 1.017 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.3011, allocations: 75.73 kB / 1.017 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/0.3012, allocations: 23.98 kB / 1.017 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3012, allocations: 7.938 kB / 1.017 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002354/0.3036, allocations: 0.5604 MB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3036, allocations: 8.031 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/0.3039, allocations: 48.89 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000691/0.3046, allocations: 87.81 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.307, allocations: 1.634 MB / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.3081, allocations: 79.69 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.3082, allocations: 12 kB / 1.019 GB, free: 1.625 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.0005293/0.3087, allocations: 302.7 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.3089, allocations: 59.34 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.3116, allocations: 0.665 MB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.3117, allocations: 4 kB / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3117, allocations: 0 / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002454/0.3141, allocations: 0.8093 MB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/0.3181, allocations: 1.32 MB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.3182, allocations: 12.09 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.3189, allocations: 67.94 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/0.3191, allocations: 44.83 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.3192, allocations: 15.98 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005771/0.3198, allocations: 0.5757 MB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3198, allocations: 0 / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.3233, allocations: 1.043 MB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.3238, allocations: 196.1 kB / 1.024 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.324, allocations: 16 kB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.3257, allocations: 60 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.3259, allocations: 15.97 kB / 1.024 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.326, allocations: 35.81 kB / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007099/0.3268, allocations: 354.8 kB / 1.024 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/0.3268, allocations: 0 / 1.024 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002361/0.3291, allocations: 351.4 kB / 1.025 GB, free: 11.42 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.001432/0.3306, allocations: 300.3 kB / 1.025 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006116/0.3368, allocations: 0.994 MB / 1.026 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.3368, allocations: 4 kB / 1.026 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.3387, allocations: 340.2 kB / 1.026 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.3418, allocations: 234 kB / 1.027 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.3457, allocations: 1.339 MB / 1.028 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.3465, allocations: 0.8939 MB / 1.029 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009927/0.3475, allocations: 128.3 kB / 1.029 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.3477, allocations: 47.36 kB / 1.029 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/0.3477, allocations: 0 / 1.029 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of Templates: time 0.03345/0.3812, allocations: 10.94 MB / 1.04 GB, free: 12.2 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)