Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json 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/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 172.7 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4797/0.4797, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.3 MB / 348.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.000901, allocations: 96.66 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004551, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4502, allocations: 71.02 MB / 0.5595 GB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.909/5.359, allocations: 2.107 GB / 2.666 GB, free: 185 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/5.36, allocations: 86.95 kB / 2.666 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.98/7.34, allocations: 0.6549 GB / 3.321 GB, free: 91.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.042e-06/7.34, allocations: 0 / 3.321 GB, free: 91.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.696e-05/7.34, allocations: 38.78 kB / 3.321 GB, free: 91.9 MB / 0.6042 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.003581/7.344, allocations: 1.56 MB / 3.323 GB, free: 91.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/7.344, allocations: 10.88 kB / 3.323 GB, free: 91.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/7.346, allocations: 0.5406 MB / 3.323 GB, free: 91.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02177/7.368, allocations: 12.32 MB / 3.335 GB, free: 90.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001075/7.369, allocations: 319.6 kB / 3.335 GB, free: 90.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/7.369, allocations: 73.56 kB / 3.335 GB, free: 90.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/7.372, allocations: 1.17 MB / 3.337 GB, free: 90.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/7.372, allocations: 3.75 kB / 3.337 GB, free: 90.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/7.372, allocations: 30.19 kB / 3.337 GB, free: 90.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/7.372, allocations: 32.02 kB / 3.337 GB, free: 90.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/7.375, allocations: 1.236 MB / 3.338 GB, free: 90.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00564/7.38, allocations: 3.272 MB / 3.341 GB, free: 89.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/7.382, allocations: 0.7098 MB / 3.342 GB, free: 89.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006718/7.383, allocations: 445.2 kB / 3.342 GB, free: 89.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006568/7.383, allocations: 1.026 MB / 3.343 GB, free: 88.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008283/7.384, allocations: 0.5375 MB / 3.344 GB, free: 88.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.445e-06/7.384, allocations: 0 / 3.344 GB, free: 88.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.002628/7.387, allocations: 1.291 MB / 3.345 GB, free: 88.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/7.387, allocations: 164.2 kB / 3.345 GB, free: 87.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/7.389, allocations: 1.202 MB / 3.346 GB, free: 87.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/7.389, allocations: 43.48 kB / 3.346 GB, free: 87.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/7.389, allocations: 448.7 kB / 3.347 GB, free: 87.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/7.389, allocations: 193.6 kB / 3.347 GB, free: 87.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/7.389, allocations: 13.19 kB / 3.347 GB, free: 87.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.981e-05/7.389, allocations: 328.6 kB / 3.347 GB, free: 87.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/7.39, allocations: 0.4908 MB / 3.348 GB, free: 87.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/7.392, allocations: 0.6908 MB / 3.348 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/7.393, allocations: 1.019 MB / 3.349 GB, free: 86.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/7.393, allocations: 0 / 3.349 GB, free: 86.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002838/7.396, allocations: 1.337 MB / 3.351 GB, free: 86.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/7.396, allocations: 36.8 kB / 3.351 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/7.396, allocations: 0 / 3.351 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/7.396, allocations: 10.62 kB / 3.351 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/7.397, allocations: 219.7 kB / 3.351 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/7.397, allocations: 9.031 kB / 3.351 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/7.399, allocations: 307.6 kB / 3.351 GB, free: 86.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/7.399, allocations: 48.89 kB / 3.351 GB, free: 86.67 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0004878/7.399, allocations: 333.1 kB / 3.352 GB, free: 86.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/7.4, allocations: 123.6 kB / 3.352 GB, free: 86.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/7.402, allocations: 1.053 MB / 3.353 GB, free: 86.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/7.402, allocations: 9.672 kB / 3.353 GB, free: 86.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/7.402, allocations: 0 / 3.353 GB, free: 86.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/7.402, allocations: 3.938 kB / 3.353 GB, free: 86.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/7.406, allocations: 3.409 MB / 3.356 GB, free: 85.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/7.406, allocations: 7.906 kB / 3.356 GB, free: 85.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/7.406, allocations: 132.4 kB / 3.356 GB, free: 85.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/7.406, allocations: 10.91 kB / 3.356 GB, free: 85.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/7.406, allocations: 30.64 kB / 3.356 GB, free: 85.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/7.406, allocations: 18.92 kB / 3.356 GB, free: 85.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/7.406, allocations: 15.94 kB / 3.356 GB, free: 85.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/7.408, allocations: 1.406 MB / 3.358 GB, free: 84.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/7.409, allocations: 345.9 kB / 3.358 GB, free: 84.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/7.409, allocations: 27.45 kB / 3.358 GB, free: 84.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/7.411, allocations: 131.6 kB / 3.358 GB, free: 84.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/7.411, allocations: 59.48 kB / 3.358 GB, free: 84.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/7.411, allocations: 45 kB / 3.358 GB, free: 84.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00214/7.413, allocations: 0.8767 MB / 3.359 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.2e-07/7.413, allocations: 0 / 3.359 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002233/7.416, allocations: 444.8 kB / 3.36 GB, free: 84.66 MB / 0.6042 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) * 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 (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.002702/7.418, allocations: 1.621 MB / 3.361 GB, free: 84.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003417/7.422, allocations: 1.075 MB / 3.362 GB, free: 84.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/7.422, allocations: 0 / 3.362 GB, free: 84.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/7.423, allocations: 0.5301 MB / 3.363 GB, free: 84.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005957/7.429, allocations: 0.5422 MB / 3.363 GB, free: 84.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/7.434, allocations: 2.304 MB / 3.366 GB, free: 83.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/7.435, allocations: 1.071 MB / 3.367 GB, free: 82.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002107/7.437, allocations: 289.5 kB / 3.367 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/7.438, allocations: 90.92 kB / 3.367 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of SimCode: time 8.12e-07/7.438, allocations: 0 / 3.367 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.07475/7.512, allocations: 37.67 MB / 3.404 GB, free: 80.52 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)