Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001308/0.001308, allocations: 183.8 kB / 376.9 MB, free: 1.836 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.567/1.567, allocations: 205 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 103.4 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 52.16 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.251, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02573/0.2767, allocations: 20.75 MB / 1.002 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.009134/0.2859, allocations: 5.449 MB / 1.008 GB, free: 120 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.287, allocations: 19.88 kB / 1.008 GB, free: 100 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.2884, allocations: 290.5 kB / 1.008 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.2916, allocations: 0.8399 MB / 1.009 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.2945, allocations: 0.8186 MB / 1.01 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.2977, allocations: 2.277 MB / 1.012 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2987, allocations: 441 kB / 1.012 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.3004, allocations: 0.6146 MB / 1.013 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3015, allocations: 0.4901 MB / 1.013 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.3016, allocations: 28 kB / 1.013 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.3041, allocations: 1.099 MB / 1.015 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.3044, allocations: 127.4 kB / 1.015 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.3049, allocations: 302.3 kB / 1.015 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.3075, allocations: 1.188 MB / 1.016 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3076, allocations: 0 / 1.016 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3076, allocations: 0 / 1.016 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.561e-05/0.3076, allocations: 4 kB / 1.016 GB, free: 7.562 MB / 0.7448 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.002419/0.31, allocations: 1.034 MB / 1.017 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3101, allocations: 12.03 kB / 1.017 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.3111, allocations: 187.9 kB / 1.017 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.3126, allocations: 0.5652 MB / 1.018 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.313, allocations: 84.94 kB / 1.018 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.3131, allocations: 40 kB / 1.018 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.3143, allocations: 499.9 kB / 1.018 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.3143, allocations: 3.938 kB / 1.018 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.3144, allocations: 20 kB / 1.018 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.3144, allocations: 8 kB / 1.018 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3155, allocations: 414.6 kB / 1.019 GB, free: 4.602 MB / 0.7448 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.003399/0.3189, allocations: 2.285 MB / 1.021 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3201, allocations: 379 kB / 1.021 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.3206, allocations: 236.9 kB / 1.022 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.3209, allocations: 332.7 kB / 1.022 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006709/0.3216, allocations: 314 kB / 1.022 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/0.3216, allocations: 3.938 kB / 1.022 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.5343/0.8559, allocations: 0.8505 MB / 1.023 GB, free: 100.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.856, allocations: 86.09 kB / 1.023 GB, free: 100.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007773/0.8568, allocations: 492.4 kB / 1.024 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.8569, allocations: 36.77 kB / 1.024 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.8572, allocations: 279.3 kB / 1.024 GB, free: 100.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.8573, allocations: 108.8 kB / 1.024 GB, free: 100.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.8574, allocations: 75.38 kB / 1.024 GB, free: 100.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8576, allocations: 359.1 kB / 1.025 GB, free: 99.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.8581, allocations: 184.6 kB / 1.025 GB, free: 99.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.8587, allocations: 270.9 kB / 1.025 GB, free: 99.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.8597, allocations: 471.9 kB / 1.025 GB, free: 99.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.8597, allocations: 5.031 kB / 1.025 GB, free: 99.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001615/0.8614, allocations: 0.6192 MB / 1.026 GB, free: 99.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.8614, allocations: 35.31 kB / 1.026 GB, free: 99.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.8614, allocations: 2.219 kB / 1.026 GB, free: 99.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/0.8618, allocations: 76.27 kB / 1.026 GB, free: 99.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.8622, allocations: 80.89 kB / 1.026 GB, free: 99.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003791/0.8626, allocations: 0.5918 MB / 1.027 GB, free: 99.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.8632, allocations: 77.78 kB / 1.027 GB, free: 99.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.8633, allocations: 18.77 kB / 1.027 GB, free: 99.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006775/0.8639, allocations: 313.5 kB / 1.027 GB, free: 99.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005287/0.8645, allocations: 270.6 kB / 1.027 GB, free: 98.92 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009278/0.8654, allocations: 471.2 kB / 1.028 GB, free: 98.8 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.8654, allocations: 0 / 1.028 GB, free: 98.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001315/0.8668, allocations: 0.5993 MB / 1.028 GB, free: 98.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.8668, allocations: 43.02 kB / 1.029 GB, free: 98.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.8668, allocations: 4.688 kB / 1.029 GB, free: 98.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.867, allocations: 49.73 kB / 1.029 GB, free: 98.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.8674, allocations: 77.34 kB / 1.029 GB, free: 98.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.8687, allocations: 1.634 MB / 1.03 GB, free: 97.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.8693, allocations: 75.56 kB / 1.03 GB, free: 97.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.8693, allocations: 18.94 kB / 1.03 GB, free: 97.24 MB / 0.7448 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 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.8695, allocations: 233.3 kB / 1.031 GB, free: 97.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.8696, allocations: 58.08 kB / 1.031 GB, free: 97 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.8711, allocations: 0.6469 MB / 1.031 GB, free: 96.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.8711, allocations: 8.812 kB / 1.031 GB, free: 96.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.8711, allocations: 0.5625 kB / 1.031 GB, free: 96.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/0.8723, allocations: 0.8118 MB / 1.032 GB, free: 96.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.8747, allocations: 1.309 MB / 1.033 GB, free: 96.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.8747, allocations: 6.781 kB / 1.033 GB, free: 96.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.875, allocations: 62.2 kB / 1.033 GB, free: 96.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.8752, allocations: 48.41 kB / 1.033 GB, free: 96.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.8752, allocations: 8.188 kB / 1.033 GB, free: 96.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002744/0.8755, allocations: 0.579 MB / 1.034 GB, free: 95.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8755, allocations: 0 / 1.034 GB, free: 95.61 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009734/0.8853, allocations: 5.749 MB / 1.04 GB, free: 92.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.8857, allocations: 183.6 kB / 1.04 GB, free: 92.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.8858, allocations: 13.31 kB / 1.04 GB, free: 92.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/0.8865, allocations: 56.19 kB / 1.04 GB, free: 92.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.8866, allocations: 22.06 kB / 1.04 GB, free: 92.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.8867, allocations: 18.97 kB / 1.04 GB, free: 92.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005772/0.8873, allocations: 342 kB / 1.04 GB, free: 92.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8873, allocations: 0.625 kB / 1.04 GB, free: 92.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002721/0.89, allocations: 0.5284 MB / 1.041 GB, free: 92.46 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.891, allocations: 313.8 kB / 1.041 GB, free: 92.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00312/0.8942, allocations: 0.9803 MB / 1.042 GB, free: 92.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.8942, allocations: 2.5 kB / 1.042 GB, free: 92.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.8952, allocations: 330.9 kB / 1.042 GB, free: 92.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.8972, allocations: 245.5 kB / 1.043 GB, free: 92.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.9014, allocations: 1.748 MB / 1.044 GB, free: 90.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000882/0.9023, allocations: 0.8885 MB / 1.045 GB, free: 90.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009202/0.9033, allocations: 135.5 kB / 1.045 GB, free: 90.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.9035, allocations: 52.42 kB / 1.045 GB, free: 90.24 MB / 0.7448 GB Notification: Performance of SimCode: time 1.924e-06/0.9035, allocations: 0 / 1.045 GB, free: 90.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.02806/0.9315, allocations: 12.27 MB / 1.057 GB, free: 89.34 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)