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 1.614/1.614, allocations: 287.4 MB / 303.2 MB, free: 8.328 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.0009486/0.0009485, allocations: 197.4 kB / 371.8 MB, free: 10.8 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.298/1.298, allocations: 205.4 MB / 0.6304 GB, free: 10.53 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.0007948/0.0007947, allocations: 92.67 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 12.75 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01493/0.1913, allocations: 19.11 MB / 0.9979 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0055/0.1968, allocations: 4.999 MB / 1.003 GB, free: 4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.1974, allocations: 19.88 kB / 1.003 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007637/0.1982, allocations: 254.4 kB / 1.003 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.2, allocations: 0.7483 MB / 1.004 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.2019, allocations: 0.7574 MB / 1.005 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.2034, allocations: 1.95 MB / 1.006 GB, free: 280 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.2039, allocations: 416.8 kB / 1.007 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008035/0.2047, allocations: 0.5874 MB / 1.007 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005202/0.2053, allocations: 462 kB / 1.008 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.805e-05/0.2053, allocations: 24 kB / 1.008 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.2069, allocations: 0.9551 MB / 1.009 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.207, allocations: 123.5 kB / 1.009 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.2071, allocations: 141.4 kB / 1.009 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008915/0.208, allocations: 0.8185 MB / 1.01 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2081, allocations: 0 / 1.01 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2081, allocations: 4 kB / 1.01 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2081, allocations: 3.938 kB / 1.01 GB, free: 12.73 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.00131/0.2094, allocations: 0.9169 MB / 1.011 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2094, allocations: 8.031 kB / 1.011 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.2103, allocations: 196 kB / 1.011 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000957/0.2112, allocations: 0.5728 MB / 1.012 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.2116, allocations: 96.94 kB / 1.012 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.636e-05/0.2116, allocations: 39.94 kB / 1.012 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.2125, allocations: 0.4999 MB / 1.012 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2126, allocations: 0 / 1.012 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.2126, allocations: 19.94 kB / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.2126, allocations: 12 kB / 1.012 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.2137, allocations: 430.6 kB / 1.013 GB, free: 9.84 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.00265/0.2163, allocations: 2.293 MB / 1.015 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.2173, allocations: 399 kB / 1.015 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.2178, allocations: 239.6 kB / 1.015 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.2181, allocations: 336.6 kB / 1.016 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005968/0.2187, allocations: 314.1 kB / 1.016 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.2187, allocations: 0 / 1.016 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.002175/0.2209, allocations: 0.8802 MB / 1.017 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.221, allocations: 85.11 kB / 1.017 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.2215, allocations: 483 kB / 1.017 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.2215, allocations: 33.7 kB / 1.017 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.2217, allocations: 288.4 kB / 1.018 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.2218, allocations: 102.4 kB / 1.018 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.2218, allocations: 8 kB / 1.018 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.222, allocations: 362.8 kB / 1.018 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.2224, allocations: 179.9 kB / 1.018 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.2229, allocations: 273.2 kB / 1.019 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009176/0.2238, allocations: 484.9 kB / 1.019 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2239, allocations: 0 / 1.019 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001368/0.2252, allocations: 0.6395 MB / 1.02 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.873e-05/0.2253, allocations: 167.9 kB / 1.02 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2254, allocations: 7.984 kB / 1.02 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.2257, allocations: 64.8 kB / 1.02 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.2261, allocations: 83.89 kB / 1.02 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004375/0.2265, allocations: 0.5913 MB / 1.021 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.227, allocations: 83.73 kB / 1.021 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.2271, allocations: 15.98 kB / 1.021 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/0.2271, allocations: 4 kB / 1.021 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/0.2283, allocations: 0.5604 MB / 1.021 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2283, allocations: 4 kB / 1.021 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.2284, allocations: 48.77 kB / 1.021 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.2288, allocations: 80.11 kB / 1.021 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.2302, allocations: 1.638 MB / 1.023 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.2307, allocations: 79.64 kB / 1.023 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.2307, allocations: 15.98 kB / 1.023 GB, free: 14.39 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.0002997/0.231, allocations: 302.7 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.2311, allocations: 59.25 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.2325, allocations: 0.6533 MB / 1.024 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.2337, allocations: 0.817 MB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2337, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.234, allocations: 188.3 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.2341, allocations: 8 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.2346, allocations: 71.72 kB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.2346, allocations: 23.97 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00154/0.2362, allocations: 0.7831 MB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001726/0.2379, allocations: 1.003 MB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004924/0.2384, allocations: 248.8 kB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003419/0.2388, allocations: 338.9 kB / 1.027 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of Backend: time 3.71e-07/0.2388, allocations: 0 / 1.027 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.2413, allocations: 1.185 MB / 1.029 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of SimCode: time 0.002073/0.2434, allocations: 1.826 MB / 1.03 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of Templates: time 0.01896/0.2624, allocations: 12.85 MB / 1.043 GB, free: 9.836 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)