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.72/2.72, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001363/0.001363, allocations: 178.3 kB / 371 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.097/2.097, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009202/0.0009201, allocations: 86.92 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004754, allocations: 12.83 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2153, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02308/0.2385, allocations: 19.11 MB / 0.997 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008901/0.2474, allocations: 5.007 MB / 1.002 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009136/0.2484, allocations: 23.81 kB / 1.002 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.2495, allocations: 254.5 kB / 1.002 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.2523, allocations: 0.7442 MB / 1.003 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.2556, allocations: 0.7634 MB / 1.004 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003016/0.2586, allocations: 1.93 MB / 1.006 GB, free: 496 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008647/0.2595, allocations: 399.3 kB / 1.006 GB, free: 84 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.2613, allocations: 0.5952 MB / 1.006 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.2625, allocations: 458 kB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.2627, allocations: 24 kB / 1.007 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.2658, allocations: 0.959 MB / 1.008 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.2661, allocations: 115.5 kB / 1.008 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.2665, allocations: 141.4 kB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.2686, allocations: 0.8185 MB / 1.009 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2687, allocations: 4 kB / 1.009 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2687, allocations: 0 / 1.009 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.2687, allocations: 4 kB / 1.009 GB, free: 12.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.002263/0.271, allocations: 0.9268 MB / 1.01 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2711, allocations: 12.03 kB / 1.01 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.2726, allocations: 195.1 kB / 1.01 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.2745, allocations: 0.5415 MB / 1.011 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006092/0.2751, allocations: 104.9 kB / 1.011 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2753, allocations: 39.91 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.2769, allocations: 0.496 MB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/0.277, allocations: 3.984 kB / 1.011 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.2771, allocations: 20 kB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.2771, allocations: 8 kB / 1.011 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.2789, allocations: 426.6 kB / 1.012 GB, free: 10.09 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.004832/0.2838, allocations: 2.293 MB / 1.014 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.2857, allocations: 391 kB / 1.014 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008881/0.2866, allocations: 237 kB / 1.014 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003954/0.287, allocations: 340.7 kB / 1.015 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.2881, allocations: 310.1 kB / 1.015 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 3.266e-06/0.2881, allocations: 0 / 1.015 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.003842/0.2919, allocations: 0.8803 MB / 1.016 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.292, allocations: 89.05 kB / 1.016 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008841/0.2929, allocations: 486.9 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/0.2931, allocations: 33.7 kB / 1.017 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.2934, allocations: 280.4 kB / 1.017 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2936, allocations: 114.4 kB / 1.017 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2936, allocations: 8 kB / 1.017 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.2938, allocations: 362.8 kB / 1.017 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008238/0.2947, allocations: 175.9 kB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009186/0.2956, allocations: 273.2 kB / 1.018 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008744/0.2965, allocations: 225.5 kB / 1.018 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2965, allocations: 0 / 1.018 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002632/0.2992, allocations: 0.6396 MB / 1.019 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.2994, allocations: 168 kB / 1.019 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2994, allocations: 3.984 kB / 1.019 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.2999, allocations: 64.75 kB / 1.019 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/0.3006, allocations: 83.88 kB / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007169/0.3013, allocations: 0.5953 MB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.3023, allocations: 87.58 kB / 1.019 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.3024, allocations: 16 kB / 1.02 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3024, allocations: 4 kB / 1.02 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002152/0.3046, allocations: 0.5565 MB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3046, allocations: 7.953 kB / 1.02 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.3049, allocations: 48.83 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.3056, allocations: 84 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.3078, allocations: 1.631 MB / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000956/0.3088, allocations: 71.7 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.3089, allocations: 19.98 kB / 1.022 GB, free: 14.92 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.0005274/0.3094, allocations: 296.7 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3096, allocations: 63.34 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.3121, allocations: 0.665 MB / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.3121, allocations: 4 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3122, allocations: 3.938 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002299/0.3145, allocations: 0.8209 MB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.3182, allocations: 1.315 MB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3183, allocations: 4 kB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.3189, allocations: 63.89 kB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.3191, allocations: 52.86 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.3192, allocations: 8 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005266/0.3197, allocations: 0.5796 MB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3198, allocations: 0 / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.3231, allocations: 0.9997 MB / 1.027 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/0.3235, allocations: 192.2 kB / 1.027 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3236, allocations: 15.95 kB / 1.027 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/0.3246, allocations: 60 kB / 1.027 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.3247, allocations: 23.97 kB / 1.027 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-05/0.3248, allocations: 15.98 kB / 1.027 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006312/0.3254, allocations: 342.8 kB / 1.027 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.214e-06/0.3254, allocations: 4 kB / 1.027 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001527/0.327, allocations: 343.4 kB / 1.028 GB, free: 8.809 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.0008581/0.3279, allocations: 297.5 kB / 1.028 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003438/0.3313, allocations: 0.999 MB / 1.029 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3313, allocations: 0 / 1.029 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.3325, allocations: 332.3 kB / 1.029 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.335, allocations: 244 kB / 1.029 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.3387, allocations: 1.335 MB / 1.031 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.3393, allocations: 0.8784 MB / 1.032 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009427/0.3403, allocations: 136.3 kB / 1.032 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.3405, allocations: 51.42 kB / 1.032 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/0.3405, allocations: 7.938 kB / 1.032 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.03141/0.3719, allocations: 10.67 MB / 1.042 GB, free: 9.852 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)