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.364/2.364, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 176.9 kB / 325.6 MB, free: 2.816 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.418/2.418, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001158/0.001158, allocations: 102.9 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006616/0.0006619, allocations: 13.94 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2135, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 1.077/1.291, allocations: 162.2 MB / 1.057 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01324/1.304, allocations: 6.361 MB / 1.063 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/1.306, allocations: 37.73 kB / 1.063 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003399/1.309, allocations: 0.677 MB / 1.064 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007865/1.317, allocations: 1.758 MB / 1.066 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006811/1.324, allocations: 1.531 MB / 1.067 GB, free: 3.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004685/1.329, allocations: 1.679 MB / 1.069 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/1.331, allocations: 0.6908 MB / 1.07 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/1.334, allocations: 0.8447 MB / 1.071 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/1.336, allocations: 0.6048 MB / 1.071 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004387/1.336, allocations: 41.75 kB / 1.071 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005299/1.342, allocations: 1.177 MB / 1.072 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008948/1.343, allocations: 283.9 kB / 1.073 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008495/1.343, allocations: 242 kB / 1.073 GB, free: 19.73 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00417/1.348, allocations: 1.552 MB / 1.074 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/1.348, allocations: 0 / 1.074 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.967e-06/1.348, allocations: 3.328 kB / 1.074 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.386e-05/1.348, allocations: 0.6875 kB / 1.074 GB, free: 19.62 MB / 0.7136 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.006513/1.354, allocations: 1.404 MB / 1.076 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.354, allocations: 9.188 kB / 1.076 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0057/1.36, allocations: 0.6072 MB / 1.076 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/1.363, allocations: 0.9252 MB / 1.077 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002448/1.366, allocations: 317.4 kB / 1.077 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004039/1.366, allocations: 67.98 kB / 1.078 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005104/1.372, allocations: 1.176 MB / 1.079 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/1.372, allocations: 3.047 kB / 1.079 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/1.372, allocations: 28.42 kB / 1.079 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/1.372, allocations: 31.12 kB / 1.079 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006844/1.379, allocations: 1.331 MB / 1.08 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/1.391, allocations: 3.082 MB / 1.083 GB, free: 17.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/1.394, allocations: 0.7421 MB / 1.084 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007959/1.395, allocations: 0.6692 MB / 1.084 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002007/1.397, allocations: 0.5307 MB / 1.085 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 3.567e-06/1.397, allocations: 1.469 kB / 1.085 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.007588/1.405, allocations: 1.367 MB / 1.086 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.405, allocations: 113.7 kB / 1.086 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/1.409, allocations: 1.219 MB / 1.088 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003097/1.409, allocations: 37.81 kB / 1.088 GB, free: 16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/1.41, allocations: 428 kB / 1.088 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/1.41, allocations: 201.8 kB / 1.088 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/1.41, allocations: 15.88 kB / 1.088 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.41, allocations: 334.3 kB / 1.089 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/1.413, allocations: 0.4886 MB / 1.089 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/1.417, allocations: 0.6378 MB / 1.09 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/1.42, allocations: 0.554 MB / 1.09 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.42, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.008509/1.429, allocations: 1.307 MB / 1.091 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.881e-05/1.429, allocations: 41.33 kB / 1.092 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.429, allocations: 12.03 kB / 1.092 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.64e-05/1.429, allocations: 5.062 kB / 1.092 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/1.432, allocations: 213.7 kB / 1.092 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.432, allocations: 8.75 kB / 1.092 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/1.444, allocations: 304 kB / 1.092 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/1.444, allocations: 34.48 kB / 1.092 GB, free: 14.96 MB / 0.7136 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.006029/1.45, allocations: 339.1 kB / 1.092 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005581/1.451, allocations: 115.1 kB / 1.093 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008954/1.46, allocations: 1.055 MB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/1.46, allocations: 11.03 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.46, allocations: 4 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/1.46, allocations: 3.094 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02441/1.484, allocations: 3.239 MB / 1.097 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/1.484, allocations: 12.41 kB / 1.097 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006404/1.491, allocations: 130.1 kB / 1.097 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.999e-05/1.491, allocations: 15.09 kB / 1.097 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/1.491, allocations: 23.66 kB / 1.097 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.42e-05/1.491, allocations: 20.8 kB / 1.097 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/1.491, allocations: 11.94 kB / 1.097 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/1.497, allocations: 1.729 MB / 1.099 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/1.498, allocations: 338.5 kB / 1.099 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/1.499, allocations: 23.44 kB / 1.099 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003101/1.502, allocations: 127.3 kB / 1.099 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.502, allocations: 65.22 kB / 1.099 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/1.503, allocations: 43.22 kB / 1.099 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003681/1.506, allocations: 0.8846 MB / 1.1 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.32e-07/1.506, allocations: 0 / 1.1 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002784/1.509, allocations: 311.5 kB / 1.1 GB, free: 12.51 MB / 0.7136 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.001469/1.511, allocations: 353.2 kB / 1.101 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005154/1.516, allocations: 1.083 MB / 1.102 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-05/1.516, allocations: 4.312 kB / 1.102 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/1.518, allocations: 0.5336 MB / 1.102 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/1.523, allocations: 0.5373 MB / 1.103 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/1.53, allocations: 2.295 MB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008813/1.531, allocations: 1.093 MB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00231/1.533, allocations: 289.7 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/1.534, allocations: 92.75 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.534, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.06528/1.599, allocations: 21.09 MB / 1.127 GB, free: 0.8281 MB / 0.7136 GB