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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 289.7 MB / 302.2 MB, free: 2.113 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.00129/0.001291, allocations: 181 kB / 371.6 MB, free: 3.379 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.026/2.026, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001078/0.001078, allocations: 92.83 kB / 0.745 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.951e-05/4.953e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3073, allocations: 116.3 MB / 0.9798 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.6/7.908, allocations: 2.315 GB / 3.295 GB, free: 280.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/7.908, allocations: 86.03 kB / 3.295 GB, free: 280.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.713/10.62, allocations: 0.6516 GB / 3.947 GB, free: 139.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.172e-06/10.62, allocations: 0 / 3.947 GB, free: 139.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001164/10.62, allocations: 39.59 kB / 3.947 GB, free: 139.1 MB / 0.948 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.00423/10.62, allocations: 1.414 MB / 3.948 GB, free: 138.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/10.62, allocations: 9.875 kB / 3.948 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/10.63, allocations: 0.5313 MB / 3.948 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02749/10.66, allocations: 13.06 MB / 3.961 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001187/10.66, allocations: 323.8 kB / 3.962 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/10.66, allocations: 72.31 kB / 3.962 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/10.66, allocations: 0.9664 MB / 3.963 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/10.66, allocations: 0 / 3.963 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/10.66, allocations: 28.12 kB / 3.963 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/10.66, allocations: 39.67 kB / 3.963 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/10.66, allocations: 0.8623 MB / 3.963 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006238/10.67, allocations: 3.263 MB / 3.967 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/10.67, allocations: 0.6038 MB / 3.967 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/10.67, allocations: 371.6 kB / 3.968 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009221/10.67, allocations: 1.028 MB / 3.969 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007922/10.67, allocations: 489.6 kB / 3.969 GB, free: 135.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.876e-06/10.67, allocations: 0 / 3.969 GB, free: 135.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002043/10.67, allocations: 0.843 MB / 3.97 GB, free: 135.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/10.67, allocations: 163.2 kB / 3.97 GB, free: 135.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/10.67, allocations: 0.9473 MB / 3.971 GB, free: 135.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.084e-05/10.67, allocations: 39.05 kB / 3.971 GB, free: 135.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/10.67, allocations: 441.4 kB / 3.971 GB, free: 135.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/10.67, allocations: 198.5 kB / 3.972 GB, free: 135 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/10.67, allocations: 12 kB / 3.972 GB, free: 135 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001072/10.67, allocations: 326.8 kB / 3.972 GB, free: 134.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/10.67, allocations: 304.4 kB / 3.972 GB, free: 134.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/10.68, allocations: 0.5033 MB / 3.973 GB, free: 134.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/10.68, allocations: 386.5 kB / 3.973 GB, free: 134.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/10.68, allocations: 0.75 kB / 3.973 GB, free: 134.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001517/10.68, allocations: 0.9507 MB / 3.974 GB, free: 134.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/10.68, allocations: 39.83 kB / 3.974 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/10.68, allocations: 4.516 kB / 3.974 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/10.68, allocations: 9.156 kB / 3.974 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/10.68, allocations: 222.3 kB / 3.974 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/10.68, allocations: 3.156 kB / 3.974 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/10.68, allocations: 302.3 kB / 3.975 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/10.68, allocations: 54.22 kB / 3.975 GB, free: 134.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002288/10.68, allocations: 185.4 kB / 3.975 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/10.68, allocations: 115.5 kB / 3.975 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/10.68, allocations: 0.9234 MB / 3.976 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/10.68, allocations: 8 kB / 3.976 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/10.68, allocations: 3.281 kB / 3.976 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/10.68, allocations: 7.438 kB / 3.976 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/10.69, allocations: 3.23 MB / 3.979 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/10.69, allocations: 9.688 kB / 3.979 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/10.69, allocations: 136.7 kB / 3.979 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/10.69, allocations: 10.5 kB / 3.979 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/10.69, allocations: 26.56 kB / 3.979 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/10.69, allocations: 17.25 kB / 3.979 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/10.69, allocations: 11.91 kB / 3.979 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/10.69, allocations: 1.712 MB / 3.981 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/10.69, allocations: 337.3 kB / 3.981 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/10.69, allocations: 31.97 kB / 3.981 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/10.69, allocations: 125.8 kB / 3.981 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/10.69, allocations: 60.55 kB / 3.981 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/10.69, allocations: 42.19 kB / 3.981 GB, free: 131.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009429/10.69, allocations: 0.7429 MB / 3.982 GB, free: 131.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/10.69, allocations: 0 / 3.982 GB, free: 131.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001735/10.69, allocations: 442.6 kB / 3.983 GB, free: 131.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002306/10.7, allocations: 1.595 MB / 3.984 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001266/10.7, allocations: 0.8259 MB / 3.985 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/10.7, allocations: 0 / 3.985 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005651/10.7, allocations: 481 kB / 3.985 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/10.7, allocations: 0.5251 MB / 3.986 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/10.7, allocations: 1.595 MB / 3.987 GB, free: 130.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/10.7, allocations: 1.093 MB / 3.989 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001208/10.71, allocations: 288.1 kB / 3.989 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/10.71, allocations: 83.8 kB / 3.989 GB, free: 129.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/10.71, allocations: 1.5 kB / 3.989 GB, free: 129.8 MB / 0.948 GB Notification: Performance of Templates: time 0.0633/10.77, allocations: 40.66 MB / 4.029 GB, free: 128.9 MB / 0.948 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)