Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.332/2.332, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001567/0.001566, allocations: 186 kB / 325.6 MB, free: 2.848 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.484/2.484, allocations: 205.4 MB / 0.5766 GB, free: 20.82 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.00113/0.00113, allocations: 88.61 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004806, allocations: 13.75 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2997, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02413/0.3238, allocations: 17.5 MB / 0.916 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.334, allocations: 4.626 MB / 0.9205 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009058/0.3349, allocations: 19.81 kB / 0.9205 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.3363, allocations: 298.6 kB / 0.9208 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.3396, allocations: 0.8062 MB / 0.9216 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.3432, allocations: 0.8477 MB / 0.9224 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00225/0.3455, allocations: 1.024 MB / 0.9234 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008258/0.3464, allocations: 403.1 kB / 0.9238 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.3477, allocations: 0.5217 MB / 0.9243 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006871/0.3485, allocations: 334.5 kB / 0.9246 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.3486, allocations: 20 kB / 0.9246 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.3509, allocations: 0.8269 MB / 0.9254 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.3511, allocations: 115.5 kB / 0.9256 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.3514, allocations: 141.4 kB / 0.9257 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.3531, allocations: 0.7759 MB / 0.9265 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3531, allocations: 0 / 0.9265 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3531, allocations: 0 / 0.9265 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3531, allocations: 0 / 0.9265 GB, free: 37.16 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001978/0.3551, allocations: 0.9052 MB / 0.9273 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3552, allocations: 12.03 kB / 0.9273 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.3566, allocations: 199 kB / 0.9275 GB, free: 36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.358, allocations: 0.4987 MB / 0.928 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005876/0.3586, allocations: 96.94 kB / 0.9281 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.3587, allocations: 40 kB / 0.9282 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3602, allocations: 499.9 kB / 0.9286 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.3603, allocations: 7.938 kB / 0.9286 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.3603, allocations: 20 kB / 0.9287 GB, free: 34.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.3604, allocations: 8 kB / 0.9287 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.362, allocations: 430.6 kB / 0.9291 GB, free: 34.35 MB / 0.6042 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.004198/0.3663, allocations: 2.313 MB / 0.9313 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.368, allocations: 402.9 kB / 0.9317 GB, free: 31.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.3684, allocations: 332.7 kB / 0.932 GB, free: 31.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009602/0.3693, allocations: 306.7 kB / 0.9323 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.496e-06/0.3694, allocations: 0 / 0.9323 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.003645/0.373, allocations: 0.9681 MB / 0.9333 GB, free: 29.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3731, allocations: 81.11 kB / 0.9334 GB, free: 29.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007212/0.3738, allocations: 0.4951 MB / 0.9338 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.292e-05/0.3739, allocations: 33.7 kB / 0.9339 GB, free: 29.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.3742, allocations: 284.3 kB / 0.9341 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3743, allocations: 102.4 kB / 0.9342 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.3743, allocations: 8 kB / 0.9342 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.3744, allocations: 366.7 kB / 0.9346 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007975/0.3752, allocations: 175.9 kB / 0.9348 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008032/0.3761, allocations: 265.3 kB / 0.935 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.3769, allocations: 225.6 kB / 0.9352 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3769, allocations: 0 / 0.9352 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002321/0.3792, allocations: 0.6281 MB / 0.9358 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.3794, allocations: 0.6491 MB / 0.9365 GB, free: 26.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3795, allocations: 4 kB / 0.9365 GB, free: 26.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/0.38, allocations: 72.86 kB / 0.9365 GB, free: 26.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.3807, allocations: 79.89 kB / 0.9366 GB, free: 26.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005248/0.3812, allocations: 0.603 MB / 0.9372 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/0.3822, allocations: 75.73 kB / 0.9373 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.3822, allocations: 23.98 kB / 0.9373 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3823, allocations: 4 kB / 0.9373 GB, free: 25.36 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001998/0.3843, allocations: 0.5529 MB / 0.9379 GB, free: 24.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3843, allocations: 12.03 kB / 0.9379 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.3845, allocations: 44.83 kB / 0.9379 GB, free: 24.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.3852, allocations: 79.89 kB / 0.938 GB, free: 24.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.3869, allocations: 1.635 MB / 0.9396 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/0.3879, allocations: 79.61 kB / 0.9397 GB, free: 22.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.388, allocations: 19.92 kB / 0.9397 GB, free: 22.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003925/0.3884, allocations: 295 kB / 0.94 GB, free: 22.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.3885, allocations: 55.34 kB / 0.94 GB, free: 22.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.3907, allocations: 0.6731 MB / 0.9407 GB, free: 21.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.3907, allocations: 4 kB / 0.9407 GB, free: 21.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3908, allocations: 0 / 0.9407 GB, free: 21.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001913/0.3927, allocations: 0.8207 MB / 0.9415 GB, free: 20.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.396, allocations: 1.322 MB / 0.9428 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.396, allocations: 96 / 0.9428 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/0.3966, allocations: 71.89 kB / 0.9428 GB, free: 19.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.3969, allocations: 44.81 kB / 0.9429 GB, free: 19.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.3969, allocations: 19.98 kB / 0.9429 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003665/0.3973, allocations: 0.5641 MB / 0.9434 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3973, allocations: 4.031 kB / 0.9434 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/0.4003, allocations: 1.039 MB / 0.9445 GB, free: 17.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.4007, allocations: 188.3 kB / 0.9446 GB, free: 17.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.4009, allocations: 8 kB / 0.9446 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009724/0.4019, allocations: 63.91 kB / 0.9447 GB, free: 17.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.402, allocations: 23.97 kB / 0.9447 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.402, allocations: 23.94 kB / 0.9448 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005354/0.4026, allocations: 354.8 kB / 0.9451 GB, free: 16.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4026, allocations: 0 / 0.9451 GB, free: 16.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001471/0.4041, allocations: 347.4 kB / 0.9454 GB, free: 16.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008102/0.4049, allocations: 315.1 kB / 0.9457 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003177/0.4081, allocations: 0.995 MB / 0.9467 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4081, allocations: 4 kB / 0.9467 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000984/0.4091, allocations: 332.3 kB / 0.947 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.4114, allocations: 238 kB / 0.9472 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.4143, allocations: 1.336 MB / 0.9486 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.4148, allocations: 0.8862 MB / 0.9494 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008719/0.4156, allocations: 132.2 kB / 0.9495 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.4158, allocations: 47.42 kB / 0.9496 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.4159, allocations: 0 / 0.9496 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.03527/0.4511, allocations: 10.86 MB / 0.9602 GB, free: 1.469 MB / 0.6042 GB