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/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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 205.7 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7289/0.7289, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 59.53 kB / 0.4904 GB, free: 14.42 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.177, allocations: 77.93 MB / 0.5665 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5345/0.7115, allocations: 191.6 MB / 0.7537 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.7238, allocations: 6.994 MB / 0.7605 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.7258, allocations: 43.69 kB / 0.7605 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.7281, allocations: 0.5554 MB / 0.7611 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006498/0.7346, allocations: 2.191 MB / 0.7632 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003632/0.7382, allocations: 1.282 MB / 0.7645 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005095/0.7433, allocations: 3.738 MB / 0.7681 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.7448, allocations: 0.7892 MB / 0.7689 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.7469, allocations: 0.9725 MB / 0.7698 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.7486, allocations: 0.809 MB / 0.7706 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.7488, allocations: 48 kB / 0.7707 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004024/0.7528, allocations: 2.225 MB / 0.7728 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004049/0.7533, allocations: 318.9 kB / 0.7731 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007984/0.7541, allocations: 0.5439 MB / 0.7737 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003941/0.758, allocations: 2.423 MB / 0.776 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.758, allocations: 0 / 0.776 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.52e-07/0.758, allocations: 0 / 0.776 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.7581, allocations: 0 / 0.776 GB, free: 1.148 MB / 0.5919 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.003471/0.7615, allocations: 1.625 MB / 0.7776 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7616, allocations: 8.031 kB / 0.7776 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/0.7647, allocations: 0.5409 MB / 0.7782 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.7668, allocations: 0.9829 MB / 0.7791 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001126/0.768, allocations: 277 kB / 0.7794 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.7681, allocations: 72 kB / 0.7795 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.7706, allocations: 1.132 MB / 0.7806 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.7707, allocations: 3.938 kB / 0.7806 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.7708, allocations: 27.98 kB / 0.7806 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/0.7708, allocations: 29.31 kB / 0.7806 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/0.774, allocations: 1.203 MB / 0.7818 GB, free: 11.12 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005828/0.7798, allocations: 3.205 MB / 0.7849 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.7815, allocations: 0.6841 MB / 0.7856 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008102/0.7823, allocations: 427 kB / 0.786 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.7835, allocations: 1.025 MB / 0.787 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009927/0.7845, allocations: 0.5065 MB / 0.7875 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.825e-06/0.7845, allocations: 3.938 kB / 0.7875 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.003071/0.7876, allocations: 1.225 MB / 0.7887 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.7877, allocations: 140.8 kB / 0.7888 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.7898, allocations: 1.207 MB / 0.79 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.7899, allocations: 37.7 kB / 0.79 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.7904, allocations: 429.5 kB / 0.7905 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.7906, allocations: 189.3 kB / 0.7906 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.7909, allocations: 146 kB / 0.7908 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.791, allocations: 330 kB / 0.7911 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.7923, allocations: 460.9 kB / 0.7915 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.7938, allocations: 0.6171 MB / 0.7921 GB, free: 68 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.7959, allocations: 0.9496 MB / 0.7931 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.7959, allocations: 4 kB / 0.7931 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003326/0.7993, allocations: 1.229 MB / 0.7943 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.7994, allocations: 37.69 kB / 0.7943 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.7994, allocations: 4 kB / 0.7943 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.7994, allocations: 8 kB / 0.7943 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009589/0.8004, allocations: 195.9 kB / 0.7945 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.8004, allocations: 15.86 kB / 0.7945 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.8021, allocations: 278.8 kB / 0.7948 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/0.8022, allocations: 43.97 kB / 0.7948 GB, free: 13.24 MB / 0.6231 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 (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 (67): * Single equations (assignments): 66 * 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.0005285/0.8028, allocations: 328.9 kB / 0.7951 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.803, allocations: 118.6 kB / 0.7952 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.8051, allocations: 0.9952 MB / 0.7962 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.8051, allocations: 7.984 kB / 0.7962 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.8051, allocations: 7.938 kB / 0.7962 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.8051, allocations: 0 / 0.7962 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/0.81, allocations: 3.158 MB / 0.7993 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.8101, allocations: 8 kB / 0.7993 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.8107, allocations: 120 kB / 0.7994 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.8107, allocations: 12 kB / 0.7994 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.8107, allocations: 27.98 kB / 0.7995 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.98e-05/0.8108, allocations: 12 kB / 0.7995 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.8108, allocations: 11.94 kB / 0.7995 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.8129, allocations: 1.338 MB / 0.8008 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/0.8135, allocations: 327.4 kB / 0.8011 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.8136, allocations: 23.98 kB / 0.8011 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.8148, allocations: 111.9 kB / 0.8012 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.8149, allocations: 63.7 kB / 0.8013 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.815, allocations: 39.97 kB / 0.8013 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001483/0.8165, allocations: 0.8638 MB / 0.8022 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8165, allocations: 0 / 0.8022 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001147/0.8176, allocations: 307.8 kB / 0.8025 GB, free: 5.066 MB / 0.6231 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) * Number of clocked states: 0 () * 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 (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.0007744/0.8184, allocations: 347.9 kB / 0.8028 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002499/0.8209, allocations: 1.024 MB / 0.8038 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8209, allocations: 0 / 0.8038 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009237/0.8219, allocations: 0.5125 MB / 0.8043 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.8245, allocations: 0.5243 MB / 0.8048 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.8284, allocations: 2.346 MB / 0.8071 GB, free: 188 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/0.8292, allocations: 1.069 MB / 0.8082 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001178/0.8303, allocations: 274.8 kB / 0.8084 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.8306, allocations: 79.41 kB / 0.8085 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of SimCode: time 2.374e-06/0.8306, allocations: 4 kB / 0.8085 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of Templates: time 0.2963/1.127, allocations: 21.25 MB / 0.8293 GB, free: 219 MB / 0.6387 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)