Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 193.1 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.3 MB / 0.5492 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 68.53 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2222, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5824/0.8046, allocations: 191.5 MB / 0.9705 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.8151, allocations: 6.829 MB / 0.9772 GB, free: 192 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.8175, allocations: 41.5 kB / 0.9772 GB, free: 172 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.8199, allocations: 0.5977 MB / 0.9778 GB, free: 0 / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007346/0.8273, allocations: 2.175 MB / 0.9799 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.8311, allocations: 1.296 MB / 0.9812 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004585/0.8357, allocations: 2.939 MB / 0.9841 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.8374, allocations: 0.893 MB / 0.9849 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.8408, allocations: 1.159 MB / 0.9861 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.843, allocations: 0.8442 MB / 0.9869 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004356/0.8435, allocations: 102.2 kB / 0.987 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004766/0.8483, allocations: 2.139 MB / 0.9891 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007135/0.849, allocations: 376.9 kB / 0.9894 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.8505, allocations: 0.5988 MB / 0.99 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.8538, allocations: 1.816 MB / 0.9918 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8538, allocations: 3.938 kB / 0.9918 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8538, allocations: 2.688 kB / 0.9918 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.865e-05/0.8539, allocations: 0 / 0.9918 GB, free: 14.23 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004717/0.8586, allocations: 1.655 MB / 0.9934 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.8587, allocations: 10.44 kB / 0.9934 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/0.8617, allocations: 0.539 MB / 0.994 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.864, allocations: 0.9982 MB / 0.9949 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001117/0.8651, allocations: 274.9 kB / 0.9952 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.8653, allocations: 66.53 kB / 0.9953 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.8679, allocations: 1.149 MB / 0.9964 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.868, allocations: 3.938 kB / 0.9964 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.8681, allocations: 29.44 kB / 0.9964 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.8681, allocations: 30.39 kB / 0.9964 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003353/0.8715, allocations: 1.283 MB / 0.9977 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006651/0.8782, allocations: 2.929 MB / 1.001 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.8801, allocations: 0.7153 MB / 1.001 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000827/0.8809, allocations: 456.3 kB / 1.002 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/0.8819, allocations: 1.021 MB / 1.003 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.883, allocations: 0.5266 MB / 1.003 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=59): time 2.605e-06/0.883, allocations: 4 kB / 1.003 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of matching and sorting (n=59): time 0.003154/0.8862, allocations: 1.273 MB / 1.004 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.8863, allocations: 115.3 kB / 1.005 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/0.8886, allocations: 1.197 MB / 1.006 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.8888, allocations: 37.98 kB / 1.006 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/0.8892, allocations: 430.2 kB / 1.006 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.8894, allocations: 205.9 kB / 1.006 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.8898, allocations: 146.8 kB / 1.007 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.89, allocations: 331.8 kB / 1.007 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.8913, allocations: 475.8 kB / 1.007 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.8927, allocations: 0.6262 MB / 1.008 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.8949, allocations: 0.9602 MB / 1.009 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.8949, allocations: 2.781 kB / 1.009 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003306/0.8982, allocations: 1.257 MB / 1.01 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.8983, allocations: 39.78 kB / 1.01 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.8983, allocations: 6.469 kB / 1.01 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.8983, allocations: 4.312 kB / 1.01 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/0.8993, allocations: 207 kB / 1.01 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.8993, allocations: 11.34 kB / 1.01 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.901, allocations: 272.2 kB / 1.011 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.9011, allocations: 41.73 kB / 1.011 GB, free: 3.43 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005941/0.9017, allocations: 329.3 kB / 1.011 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/0.902, allocations: 116.5 kB / 1.011 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.9043, allocations: 1.045 MB / 1.012 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.9043, allocations: 12.83 kB / 1.012 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.9044, allocations: 6.344 kB / 1.012 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.9044, allocations: 0 / 1.012 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/0.9095, allocations: 3.223 MB / 1.015 GB, free: 268 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.9095, allocations: 7.438 kB / 1.015 GB, free: 268 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.9101, allocations: 134.1 kB / 1.015 GB, free: 224 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.9102, allocations: 10.62 kB / 1.015 GB, free: 224 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.9102, allocations: 26.8 kB / 1.015 GB, free: 212 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.9102, allocations: 9.625 kB / 1.015 GB, free: 212 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.9103, allocations: 12.12 kB / 1.015 GB, free: 208 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.9125, allocations: 1.317 MB / 1.017 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/0.9131, allocations: 330 kB / 1.017 GB, free: 15 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/0.9134, allocations: 24.7 kB / 1.017 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.9146, allocations: 111.2 kB / 1.017 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.9147, allocations: 65.42 kB / 1.017 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.542e-05/0.9148, allocations: 47.75 kB / 1.017 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001609/0.9164, allocations: 0.8669 MB / 1.018 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9165, allocations: 0 / 1.018 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001198/0.9177, allocations: 307.4 kB / 1.018 GB, free: 14.35 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008386/0.9185, allocations: 354.1 kB / 1.019 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.9211, allocations: 1.085 MB / 1.02 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.577e-06/0.9212, allocations: 2.125 kB / 1.02 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009574/0.9221, allocations: 0.5321 MB / 1.02 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.925, allocations: 0.5541 MB / 1.021 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.9291, allocations: 2.423 MB / 1.023 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.9299, allocations: 1.068 MB / 1.024 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.9303, allocations: 97.72 kB / 1.024 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of SimCode: time 5.91e-07/0.9303, allocations: 0 / 1.024 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of Templates: time 0.02824/0.9586, allocations: 18.9 MB / 1.043 GB, free: 12.32 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)