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.622/1.622, allocations: 288.4 MB / 303.7 MB, free: 8.867 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.001473/0.001473, allocations: 184.5 kB / 372.3 MB, free: 6.422 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.33/1.33, allocations: 205.4 MB / 0.631 GB, free: 13.52 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.0009587/0.0009587, allocations: 90.83 kB / 0.7444 GB, free: 64.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 15.98 kB / 0.8675 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2369, allocations: 115.3 MB / 0.9801 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02062/0.2576, allocations: 19.12 MB / 0.9988 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008513/0.2661, allocations: 5.012 MB / 1.004 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009224/0.2671, allocations: 15.88 kB / 1.004 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.2682, allocations: 258.4 kB / 1.004 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.271, allocations: 0.8009 MB / 1.005 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.2736, allocations: 0.7601 MB / 1.005 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002595/0.2762, allocations: 1.946 MB / 1.007 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009177/0.2771, allocations: 420.8 kB / 1.008 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.2785, allocations: 0.6069 MB / 1.008 GB, free: 56 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008823/0.2794, allocations: 462 kB / 1.009 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.2795, allocations: 23.94 kB / 1.009 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.2816, allocations: 1.049 MB / 1.01 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.2818, allocations: 119.5 kB / 1.01 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.2824, allocations: 320.2 kB / 1.01 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.2838, allocations: 0.8536 MB / 1.011 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2838, allocations: 0 / 1.011 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2838, allocations: 0 / 1.011 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.2838, allocations: 0 / 1.011 GB, free: 13.23 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.001743/0.2856, allocations: 0.9171 MB / 1.012 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2856, allocations: 8.031 kB / 1.012 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.2867, allocations: 196 kB / 1.012 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.2879, allocations: 0.565 MB / 1.013 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.2882, allocations: 92.94 kB / 1.013 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.2883, allocations: 40 kB / 1.013 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.2894, allocations: 0.4999 MB / 1.013 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.2894, allocations: 0 / 1.013 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.2895, allocations: 16 kB / 1.013 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.2895, allocations: 8 kB / 1.013 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.2906, allocations: 430.6 kB / 1.014 GB, free: 10.36 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.003301/0.2939, allocations: 2.304 MB / 1.016 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.2951, allocations: 398.8 kB / 1.016 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.2957, allocations: 237 kB / 1.017 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/0.296, allocations: 344.7 kB / 1.017 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006745/0.2967, allocations: 310.2 kB / 1.017 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 3.897e-06/0.2968, allocations: 0 / 1.017 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.002382/0.2991, allocations: 0.888 MB / 1.018 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.2992, allocations: 81.11 kB / 1.018 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.2998, allocations: 487 kB / 1.019 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.2999, allocations: 41.7 kB / 1.019 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.3001, allocations: 280.4 kB / 1.019 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3002, allocations: 110.3 kB / 1.019 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.3002, allocations: 8 kB / 1.019 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3004, allocations: 362.8 kB / 1.019 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.3009, allocations: 175.9 kB / 1.02 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.3014, allocations: 273.1 kB / 1.02 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009577/0.3024, allocations: 477.1 kB / 1.02 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3024, allocations: 3.938 kB / 1.02 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001523/0.3039, allocations: 0.6279 MB / 1.021 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.304, allocations: 164 kB / 1.021 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3041, allocations: 7.984 kB / 1.021 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.3045, allocations: 68.75 kB / 1.021 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.3048, allocations: 87.88 kB / 1.021 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005032/0.3054, allocations: 0.5913 MB / 1.022 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.306, allocations: 83.78 kB / 1.022 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.306, allocations: 19.94 kB / 1.022 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.306, allocations: 4 kB / 1.022 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001295/0.3074, allocations: 0.5605 MB / 1.023 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3074, allocations: 4 kB / 1.023 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001529/0.3075, allocations: 52.98 kB / 1.023 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.3079, allocations: 83.81 kB / 1.023 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.45/0.7579, allocations: 1.626 MB / 1.024 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.7587, allocations: 76.16 kB / 1.024 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.7588, allocations: 11.16 kB / 1.024 GB, free: 100.4 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 ($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.0003558/0.7591, allocations: 302.7 kB / 1.025 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.7592, allocations: 61.22 kB / 1.025 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.7606, allocations: 0.6556 MB / 1.025 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.7607, allocations: 5.766 kB / 1.025 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.7607, allocations: 0 / 1.025 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/0.7619, allocations: 0.8196 MB / 1.026 GB, free: 99.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.7641, allocations: 1.317 MB / 1.027 GB, free: 99.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.7641, allocations: 2.844 kB / 1.027 GB, free: 99.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.7645, allocations: 72.83 kB / 1.027 GB, free: 99.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.7646, allocations: 40.84 kB / 1.027 GB, free: 99.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.7647, allocations: 18.14 kB / 1.028 GB, free: 99.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003443/0.765, allocations: 0.5791 MB / 1.028 GB, free: 98.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.7651, allocations: 0.625 kB / 1.028 GB, free: 98.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.767, allocations: 0.9987 MB / 1.029 GB, free: 98.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.7673, allocations: 185.4 kB / 1.029 GB, free: 98.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.7674, allocations: 12.56 kB / 1.029 GB, free: 98.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.7679, allocations: 65.2 kB / 1.029 GB, free: 98.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.768, allocations: 22.16 kB / 1.029 GB, free: 98.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.7681, allocations: 19.98 kB / 1.029 GB, free: 98.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000429/0.7685, allocations: 341.7 kB / 1.03 GB, free: 98.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7685, allocations: 3.344 kB / 1.03 GB, free: 98.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001243/0.7698, allocations: 347.3 kB / 1.03 GB, free: 98.37 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 (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.0008652/0.7707, allocations: 301.8 kB / 1.03 GB, free: 98.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002573/0.7732, allocations: 0.9999 MB / 1.031 GB, free: 98.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7733, allocations: 0.8438 kB / 1.031 GB, free: 98.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006368/0.7739, allocations: 332.9 kB / 1.032 GB, free: 97.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.7754, allocations: 244.4 kB / 1.032 GB, free: 97.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.7777, allocations: 1.334 MB / 1.033 GB, free: 97.35 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.7781, allocations: 0.8842 MB / 1.034 GB, free: 96.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006087/0.7788, allocations: 128 kB / 1.034 GB, free: 96.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.7789, allocations: 59.06 kB / 1.034 GB, free: 96.61 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.7789, allocations: 0 / 1.034 GB, free: 96.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.02146/0.8004, allocations: 10.84 MB / 1.045 GB, free: 95.78 MB / 0.7448 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)