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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001195/0.001195, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4962/0.4962, allocations: 90.92 MB / 99.35 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 91.89 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.671e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 72.32 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.191/5.368, allocations: 2.108 GB / 2.661 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/5.368, allocations: 87.38 kB / 2.661 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.309/7.677, allocations: 0.6515 GB / 3.313 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/7.677, allocations: 0 / 3.313 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001809/7.677, allocations: 39.52 kB / 3.313 GB, free: 81.34 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.005464/7.683, allocations: 1.478 MB / 3.314 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/7.683, allocations: 12.14 kB / 3.314 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/7.686, allocations: 0.54 MB / 3.315 GB, free: 80.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02582/7.712, allocations: 13.11 MB / 3.328 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/7.713, allocations: 297 kB / 3.328 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/7.713, allocations: 40 kB / 3.328 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001518/7.715, allocations: 0.7218 MB / 3.329 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/7.717, allocations: 0.8909 MB / 3.329 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/7.717, allocations: 0 / 3.329 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/7.717, allocations: 4 kB / 3.329 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/7.717, allocations: 33.3 kB / 3.329 GB, free: 65.23 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.006412/7.723, allocations: 3.113 MB / 3.332 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009104/7.724, allocations: 0.5546 MB / 3.333 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/7.725, allocations: 351.5 kB / 3.333 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008374/7.726, allocations: 1.03 MB / 3.334 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006561/7.726, allocations: 470 kB / 3.335 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 3.306e-06/7.726, allocations: 4 kB / 3.335 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.002011/7.728, allocations: 0.7891 MB / 3.336 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/7.728, allocations: 136.9 kB / 3.336 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/7.729, allocations: 0.6529 MB / 3.336 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.648e-05/7.729, allocations: 29.7 kB / 3.336 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/7.73, allocations: 452.2 kB / 3.337 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/7.73, allocations: 185.2 kB / 3.337 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/7.73, allocations: 0 / 3.337 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.944e-05/7.73, allocations: 330 kB / 3.337 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/7.73, allocations: 301.2 kB / 3.338 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/7.731, allocations: 0.5056 MB / 3.338 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008479/7.732, allocations: 400.4 kB / 3.338 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/7.732, allocations: 3.938 kB / 3.338 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001428/7.733, allocations: 0.9168 MB / 3.339 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/7.733, allocations: 41.69 kB / 3.339 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/7.733, allocations: 0 / 3.339 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/7.733, allocations: 11.95 kB / 3.339 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/7.734, allocations: 215.7 kB / 3.34 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/7.734, allocations: 11.94 kB / 3.34 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/7.736, allocations: 259.4 kB / 3.34 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.882e-05/7.736, allocations: 51.97 kB / 3.34 GB, free: 54.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (67): * Single equations (assignments): 66 * 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.0002021/7.736, allocations: 162.5 kB / 3.34 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/7.736, allocations: 90.88 kB / 3.34 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/7.738, allocations: 0.8434 MB / 3.341 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/7.738, allocations: 15.94 kB / 3.341 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/7.738, allocations: 0 / 3.341 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/7.738, allocations: 0 / 3.341 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/7.741, allocations: 2.96 MB / 3.344 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/7.741, allocations: 4 kB / 3.344 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/7.742, allocations: 127.8 kB / 3.344 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/7.742, allocations: 16.19 kB / 3.344 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/7.742, allocations: 19.98 kB / 3.344 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/7.742, allocations: 15.94 kB / 3.344 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/7.742, allocations: 11.94 kB / 3.344 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/7.743, allocations: 1.552 MB / 3.346 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/7.744, allocations: 319.2 kB / 3.346 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/7.744, allocations: 12 kB / 3.346 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/7.745, allocations: 115.9 kB / 3.346 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.311e-05/7.745, allocations: 59.8 kB / 3.346 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.031e-05/7.745, allocations: 43.95 kB / 3.346 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000513/7.746, allocations: 0.5031 MB / 3.347 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/7.746, allocations: 4 kB / 3.347 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001428/7.747, allocations: 403.4 kB / 3.347 GB, free: 46.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (56): * Single equations (assignments): 51 * 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.002155/7.749, allocations: 1.752 MB / 3.349 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001064/7.75, allocations: 0.7982 MB / 3.35 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/7.75, allocations: 0 / 3.35 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004457/7.751, allocations: 465 kB / 3.35 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/7.752, allocations: 348 kB / 3.35 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/7.755, allocations: 1.489 MB / 3.352 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/7.756, allocations: 1.095 MB / 3.353 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001018/7.757, allocations: 248.2 kB / 3.353 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/7.757, allocations: 67.41 kB / 3.353 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/7.757, allocations: 0 / 3.353 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.03194/7.789, allocations: 23.08 MB / 3.376 GB, free: 17.21 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)