Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.134/2.134, allocations: 253.2 MB / 260.6 MB, free: 7.387 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001435, allocations: 179.3 kB / 319.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.6 MB / 0.5708 GB, free: 15.24 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 97.27 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.575e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2716, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.251/8.522, allocations: 2.431 GB / 3.32 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/8.523, allocations: 85.62 kB / 3.32 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.375/11.9, allocations: 0.6261 GB / 3.946 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.534e-06/11.9, allocations: 0 / 3.946 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001489/11.9, allocations: 36.94 kB / 3.946 GB, free: 157.2 MB / 0.8698 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.006069/11.9, allocations: 1.416 MB / 3.947 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/11.9, allocations: 9.062 kB / 3.947 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/11.91, allocations: 0.5348 MB / 3.948 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04055/11.95, allocations: 12.69 MB / 3.96 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002221/11.95, allocations: 290.7 kB / 3.961 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/11.95, allocations: 44.34 kB / 3.961 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002287/11.95, allocations: 0.7561 MB / 3.961 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/11.96, allocations: 0.8788 MB / 3.962 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/11.96, allocations: 1.688 kB / 3.962 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/11.96, allocations: 10.47 kB / 3.962 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/11.96, allocations: 35.11 kB / 3.962 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009961/11.97, allocations: 3.209 MB / 3.965 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/11.97, allocations: 0.5771 MB / 3.966 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/11.97, allocations: 352.6 kB / 3.966 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/11.97, allocations: 1.03 MB / 3.967 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009399/11.97, allocations: 480.1 kB / 3.968 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=58): time 4.128e-06/11.97, allocations: 0 / 3.968 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58): time 0.002929/11.97, allocations: 0.8044 MB / 3.969 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/11.97, allocations: 136.1 kB / 3.969 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/11.98, allocations: 0.6586 MB / 3.969 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/11.98, allocations: 25.7 kB / 3.969 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/11.98, allocations: 465.1 kB / 3.97 GB, free: 153 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/11.98, allocations: 183.8 kB / 3.97 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/11.98, allocations: 1.688 kB / 3.97 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/11.98, allocations: 333.4 kB / 3.97 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/11.98, allocations: 307 kB / 3.971 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009405/11.98, allocations: 0.5097 MB / 3.971 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/11.98, allocations: 411.2 kB / 3.971 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/11.98, allocations: 3.219 kB / 3.971 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002853/11.98, allocations: 0.955 MB / 3.972 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/11.98, allocations: 35.58 kB / 3.972 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/11.98, allocations: 5.406 kB / 3.972 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/11.98, allocations: 7.344 kB / 3.972 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/11.98, allocations: 232.3 kB / 3.973 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/11.98, allocations: 10.91 kB / 3.973 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/11.99, allocations: 264.1 kB / 3.973 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/11.99, allocations: 50.59 kB / 3.973 GB, free: 152.3 MB / 0.8698 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.0003385/11.99, allocations: 152.5 kB / 3.973 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/11.99, allocations: 93.3 kB / 3.973 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/11.99, allocations: 0.8678 MB / 3.974 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/11.99, allocations: 3.688 kB / 3.974 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/11.99, allocations: 3.625 kB / 3.974 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/11.99, allocations: 11.22 kB / 3.974 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007045/12, allocations: 3.036 MB / 3.977 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/12, allocations: 10.91 kB / 3.977 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/12, allocations: 129.7 kB / 3.977 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/12, allocations: 14.47 kB / 3.977 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/12, allocations: 24.03 kB / 3.977 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/12, allocations: 15.19 kB / 3.977 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/12, allocations: 13.44 kB / 3.977 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/12, allocations: 1.594 MB / 3.979 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/12, allocations: 312 kB / 3.979 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/12, allocations: 11.31 kB / 3.979 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/12.01, allocations: 122.8 kB / 3.979 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/12.01, allocations: 63.14 kB / 3.979 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/12.01, allocations: 49.91 kB / 3.979 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009385/12.01, allocations: 0.502 MB / 3.98 GB, free: 150 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.61e-07/12.01, allocations: 3.281 kB / 3.98 GB, free: 150 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002239/12.01, allocations: 409.3 kB / 3.98 GB, free: 150 MB / 0.8698 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.00303/12.01, allocations: 1.745 MB / 3.982 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002057/12.01, allocations: 0.816 MB / 3.983 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/12.01, allocations: 2.906 kB / 3.983 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008721/12.02, allocations: 472.2 kB / 3.983 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/12.02, allocations: 361.9 kB / 3.983 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/12.02, allocations: 1.477 MB / 3.985 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/12.02, allocations: 1.087 MB / 3.986 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001892/12.03, allocations: 254.1 kB / 3.986 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/12.03, allocations: 78.69 kB / 3.986 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of SimCode: time 9.52e-07/12.03, allocations: 2.594 kB / 3.986 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.05779/12.08, allocations: 23.24 MB / 4.009 GB, free: 147.4 MB / 0.8698 GB