Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 189 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6874/0.6874, allocations: 82.93 MB / 99.42 MB, free: 3.266 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.4 MB / 325.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 96.44 kB / 393.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004615, allocations: 16 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.09889, allocations: 67.44 MB / 0.5263 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5737/0.6726, allocations: 162 MB / 0.6845 GB, free: 13.59 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.6858, allocations: 6.244 MB / 0.6906 GB, free: 7.348 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.6874, allocations: 35.69 kB / 0.6907 GB, free: 7.312 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.6898, allocations: 0.6688 MB / 0.6913 GB, free: 6.641 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006415/0.6963, allocations: 1.636 MB / 0.6929 GB, free: 5 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.7022, allocations: 1.543 MB / 0.6944 GB, free: 3.48 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003974/0.7062, allocations: 1.67 MB / 0.696 GB, free: 1.809 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.7086, allocations: 0.6858 MB / 0.6967 GB, free: 1.109 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.7124, allocations: 0.9111 MB / 0.6976 GB, free: 200 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.7142, allocations: 0.5407 MB / 0.6981 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.7146, allocations: 44 kB / 0.6982 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004388/0.719, allocations: 1.166 MB / 0.6993 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005555/0.7196, allocations: 291.1 kB / 0.6996 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.72, allocations: 233.1 kB / 0.6998 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.7231, allocations: 1.57 MB / 0.7013 GB, free: 12.35 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.264e-06/0.7231, allocations: 0 / 0.7013 GB, free: 12.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.403e-06/0.7231, allocations: 0 / 0.7013 GB, free: 12.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.7231, allocations: 0 / 0.7013 GB, free: 12.35 MB / 490.7 MB 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.004368/0.7275, allocations: 1.403 MB / 0.7027 GB, free: 10.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7276, allocations: 11.97 kB / 0.7027 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/0.7314, allocations: 0.6074 MB / 0.7033 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/0.7339, allocations: 0.9175 MB / 0.7042 GB, free: 9.305 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001437/0.7354, allocations: 321 kB / 0.7045 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.7356, allocations: 68 kB / 0.7046 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.7393, allocations: 1.168 MB / 0.7057 GB, free: 7.738 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.7394, allocations: 4 kB / 0.7057 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.7395, allocations: 28 kB / 0.7058 GB, free: 7.707 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/0.7396, allocations: 33.3 kB / 0.7058 GB, free: 7.672 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004923/0.7445, allocations: 1.321 MB / 0.7071 GB, free: 6.355 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008499/0.7531, allocations: 2.991 MB / 0.71 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.7557, allocations: 0.7333 MB / 0.7107 GB, free: 2.559 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/0.7564, allocations: 0.6653 MB / 0.7114 GB, free: 1.746 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.7579, allocations: 0.5408 MB / 0.7119 GB, free: 1.188 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 4.204e-06/0.758, allocations: 0 / 0.7119 GB, free: 1.188 MB / 490.7 MB Notification: Performance of matching and sorting (n=59): time 0.004375/0.7624, allocations: 1.367 MB / 0.7132 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.7625, allocations: 115.2 kB / 0.7133 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.7654, allocations: 1.223 MB / 0.7145 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.7656, allocations: 37.7 kB / 0.7146 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.7661, allocations: 425.5 kB / 0.715 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.7664, allocations: 205 kB / 0.7152 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.7665, allocations: 8 kB / 0.7152 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.7667, allocations: 333.9 kB / 0.7155 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.7687, allocations: 0.4931 MB / 0.716 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.7708, allocations: 0.6391 MB / 0.7166 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.7728, allocations: 0.5464 MB / 0.7171 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.255e-06/0.7729, allocations: 0 / 0.7171 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004619/0.7775, allocations: 1.311 MB / 0.7184 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/0.7776, allocations: 41.64 kB / 0.7185 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.7776, allocations: 4 kB / 0.7185 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.7776, allocations: 4 kB / 0.7185 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.779, allocations: 219.9 kB / 0.7187 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.779, allocations: 11.98 kB / 0.7187 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.7811, allocations: 302.8 kB / 0.719 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.7813, allocations: 43.97 kB / 0.719 GB, free: 9.734 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (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.0007378/0.7821, allocations: 332.9 kB / 0.7193 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.7825, allocations: 114.6 kB / 0.7194 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.7857, allocations: 1.066 MB / 0.7205 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.7857, allocations: 4 kB / 0.7205 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.041e-06/0.7857, allocations: 0 / 0.7205 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.7858, allocations: 3.984 kB / 0.7205 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007624/0.7934, allocations: 3.234 MB / 0.7236 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.7934, allocations: 12 kB / 0.7237 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000852/0.7943, allocations: 136.2 kB / 0.7238 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-05/0.7944, allocations: 11.95 kB / 0.7238 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.874e-05/0.7945, allocations: 31.97 kB / 0.7238 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-05/0.7945, allocations: 15.94 kB / 0.7238 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/0.7945, allocations: 15.92 kB / 0.7239 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.7981, allocations: 1.732 MB / 0.7256 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.7993, allocations: 331.4 kB / 0.7259 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/0.7997, allocations: 27.94 kB / 0.7259 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/0.8027, allocations: 135.8 kB / 0.726 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.803, allocations: 55.8 kB / 0.7261 GB, free: 2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/0.8033, allocations: 51.95 kB / 0.7261 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003772/0.8071, allocations: 0.8831 MB / 0.727 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.205e-06/0.8071, allocations: 3.938 kB / 0.727 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002506/0.8097, allocations: 295.9 kB / 0.7273 GB, free: 0.7656 MB / 0.4948 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) * 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.001372/0.8111, allocations: 349.4 kB / 0.7276 GB, free: 432 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006254/0.8174, allocations: 1.084 MB / 0.7287 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.8174, allocations: 0 / 0.7287 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002734/0.8202, allocations: 0.548 MB / 0.7292 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006389/0.8266, allocations: 0.5364 MB / 0.7297 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007336/0.834, allocations: 2.316 MB / 0.732 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.835, allocations: 1.089 MB / 0.7331 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001805/0.8369, allocations: 292.1 kB / 0.7333 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.8372, allocations: 79.41 kB / 0.7334 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.524e-06/0.8373, allocations: 0 / 0.7334 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.05409/0.8914, allocations: 21.08 MB / 0.754 GB, free: 5.332 MB / 0.5261 GB