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.664/1.664, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001433/0.001433, allocations: 173 kB / 366.7 MB, free: 1.668 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.824/1.824, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.001069/0.001069, allocations: 93.7 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.82e-05, allocations: 8 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8428, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.134/6.977, allocations: 2.314 GB / 3.288 GB, free: 179.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/6.977, allocations: 84.61 kB / 3.288 GB, free: 179.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.404/9.381, allocations: 0.6451 GB / 3.933 GB, free: 191.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/9.381, allocations: 0 / 3.933 GB, free: 191.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001578/9.382, allocations: 34.19 kB / 3.933 GB, free: 191.9 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.004639/9.386, allocations: 1.404 MB / 3.934 GB, free: 191.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/9.386, allocations: 11.97 kB / 3.934 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/9.389, allocations: 0.5366 MB / 3.935 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02605/9.416, allocations: 13.03 MB / 3.947 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/9.417, allocations: 296.4 kB / 3.948 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003463/9.417, allocations: 43 kB / 3.948 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001631/9.419, allocations: 0.7578 MB / 3.948 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/9.421, allocations: 0.8775 MB / 3.949 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/9.421, allocations: 3.375 kB / 3.949 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/9.421, allocations: 3.953 kB / 3.949 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/9.421, allocations: 33.67 kB / 3.949 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006407/9.427, allocations: 3.123 MB / 3.952 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/9.428, allocations: 0.5744 MB / 3.953 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/9.429, allocations: 353.8 kB / 3.953 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007275/9.429, allocations: 1.027 MB / 3.954 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/9.43, allocations: 482.3 kB / 3.955 GB, free: 188.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 2.765e-06/9.43, allocations: 0 / 3.955 GB, free: 188.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.001944/9.432, allocations: 0.7953 MB / 3.956 GB, free: 188.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/9.432, allocations: 141.7 kB / 3.956 GB, free: 187.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/9.433, allocations: 0.6571 MB / 3.956 GB, free: 187.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/9.433, allocations: 28.86 kB / 3.956 GB, free: 187.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/9.434, allocations: 460 kB / 3.957 GB, free: 187.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/9.434, allocations: 184.4 kB / 3.957 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/9.434, allocations: 2.344 kB / 3.957 GB, free: 187.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/9.434, allocations: 333.9 kB / 3.957 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/9.434, allocations: 307.9 kB / 3.958 GB, free: 187.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/9.435, allocations: 0.5091 MB / 3.958 GB, free: 187 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/9.436, allocations: 414.1 kB / 3.959 GB, free: 187 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/9.436, allocations: 1.125 kB / 3.959 GB, free: 187 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001811/9.438, allocations: 0.9541 MB / 3.959 GB, free: 186.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/9.438, allocations: 32.86 kB / 3.959 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/9.438, allocations: 15.11 kB / 3.959 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/9.438, allocations: 7.781 kB / 3.959 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/9.439, allocations: 217.1 kB / 3.96 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/9.439, allocations: 11.72 kB / 3.96 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/9.441, allocations: 269 kB / 3.96 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/9.441, allocations: 48.09 kB / 3.96 GB, free: 186.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0002527/9.441, allocations: 167 kB / 3.96 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/9.441, allocations: 92.91 kB / 3.96 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/9.443, allocations: 0.868 MB / 3.961 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/9.443, allocations: 10.38 kB / 3.961 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/9.443, allocations: 0 / 3.961 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/9.443, allocations: 3.938 kB / 3.961 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/9.447, allocations: 3.02 MB / 3.964 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/9.448, allocations: 7.125 kB / 3.964 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/9.448, allocations: 140.7 kB / 3.964 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/9.448, allocations: 10.59 kB / 3.964 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/9.448, allocations: 23.45 kB / 3.964 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/9.448, allocations: 18.44 kB / 3.964 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/9.448, allocations: 14.84 kB / 3.964 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/9.45, allocations: 1.608 MB / 3.966 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/9.451, allocations: 307.2 kB / 3.966 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/9.451, allocations: 11.56 kB / 3.966 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/9.452, allocations: 119.9 kB / 3.966 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/9.452, allocations: 58.25 kB / 3.966 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/9.452, allocations: 54.05 kB / 3.966 GB, free: 184.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007702/9.453, allocations: 0.5022 MB / 3.967 GB, free: 184.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.51e-07/9.453, allocations: 3.875 kB / 3.967 GB, free: 184.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001935/9.455, allocations: 413.3 kB / 3.967 GB, free: 184.5 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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.002852/9.458, allocations: 1.742 MB / 3.969 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001344/9.459, allocations: 0.8107 MB / 3.97 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/9.459, allocations: 6.547 kB / 3.97 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005552/9.46, allocations: 474.1 kB / 3.97 GB, free: 183.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/9.462, allocations: 361.9 kB / 3.971 GB, free: 183.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/9.465, allocations: 1.498 MB / 3.972 GB, free: 183.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/9.466, allocations: 1.091 MB / 3.973 GB, free: 182.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001157/9.467, allocations: 260.9 kB / 3.973 GB, free: 182.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/9.467, allocations: 78.06 kB / 3.973 GB, free: 182.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/9.467, allocations: 0 / 3.973 GB, free: 182.5 MB / 0.948 GB Notification: Performance of Templates: time 0.03409/9.501, allocations: 23.24 MB / 3.996 GB, free: 180.4 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)