Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.852/4.852, allocations: 0.5623 GB / 0.5769 GB, free: 3.27 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002407/0.002407, allocations: 359.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.033/4.033, allocations: 410.7 MB / 1.112 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001813/0.001813, allocations: 191.8 kB / 1.225 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008836/0.0008836, allocations: 12 kB / 1.348 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6665/0.6675, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01811/0.6856, allocations: 19.11 MB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007176/0.6928, allocations: 4.912 MB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.6937, allocations: 19.88 kB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008242/0.6946, allocations: 271.9 kB / 1.484 GB, free: 260 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.697, allocations: 0.8411 MB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.7, allocations: 0.9007 MB / 1.486 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002076/0.7021, allocations: 1.931 MB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005771/0.7027, allocations: 394.4 kB / 1.488 GB, free: 256 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008617/0.7035, allocations: 0.5581 MB / 1.489 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.7041, allocations: 464.7 kB / 1.489 GB, free: 255 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/0.7042, allocations: 24 kB / 1.489 GB, free: 255 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.7059, allocations: 0.7956 MB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.706, allocations: 116 kB / 1.49 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.7062, allocations: 137.4 kB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009698/0.7072, allocations: 0.7839 MB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7072, allocations: 1.281 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.881e-06/0.7072, allocations: 0 / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.7072, allocations: 0 / 1.491 GB, free: 253.1 MB / 0.8542 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.001427/0.7087, allocations: 0.9191 MB / 1.492 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.7087, allocations: 11.62 kB / 1.492 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/0.7097, allocations: 201.5 kB / 1.492 GB, free: 252 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.7108, allocations: 0.5344 MB / 1.493 GB, free: 251.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/0.7112, allocations: 96.03 kB / 1.493 GB, free: 251.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/0.7113, allocations: 40 kB / 1.493 GB, free: 251.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.7124, allocations: 0.4944 MB / 1.493 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.7124, allocations: 5.5 kB / 1.493 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.7125, allocations: 16 kB / 1.493 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.7125, allocations: 8 kB / 1.493 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.7138, allocations: 429.2 kB / 1.494 GB, free: 250.3 MB / 0.8542 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.003064/0.7169, allocations: 2.292 MB / 1.496 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.7181, allocations: 396.8 kB / 1.497 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/0.7187, allocations: 241.2 kB / 1.497 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.719, allocations: 346.4 kB / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007045/0.7197, allocations: 311.9 kB / 1.497 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 4.055e-06/0.7197, allocations: 0 / 1.497 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.002595/0.7223, allocations: 0.8798 MB / 1.498 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.7224, allocations: 85.86 kB / 1.498 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005932/0.723, allocations: 496.2 kB / 1.499 GB, free: 245 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.7231, allocations: 33.7 kB / 1.499 GB, free: 245 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.7233, allocations: 280.4 kB / 1.499 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.364e-05/0.7234, allocations: 108.5 kB / 1.499 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.7234, allocations: 4 kB / 1.499 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.7235, allocations: 362.8 kB / 1.5 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.7241, allocations: 173.5 kB / 1.5 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.7247, allocations: 277.1 kB / 1.5 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.7252, allocations: 215.5 kB / 1.5 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.213e-06/0.7252, allocations: 4 kB / 1.5 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001703/0.727, allocations: 0.6307 MB / 1.501 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.09e-05/0.7271, allocations: 172.2 kB / 1.501 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.293e-06/0.7271, allocations: 3.938 kB / 1.501 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.7275, allocations: 65.81 kB / 1.501 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.728, allocations: 86.81 kB / 1.501 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004363/0.7284, allocations: 0.6001 MB / 1.502 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/0.7292, allocations: 72.89 kB / 1.502 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.7292, allocations: 21.48 kB / 1.502 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.7293, allocations: 4 kB / 1.502 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001545/0.7308, allocations: 0.5556 MB / 1.502 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.318e-06/0.7309, allocations: 3.953 kB / 1.502 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.7311, allocations: 54.39 kB / 1.502 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.7315, allocations: 87.44 kB / 1.502 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.7331, allocations: 1.635 MB / 1.504 GB, free: 239.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.7338, allocations: 76.12 kB / 1.504 GB, free: 239.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.7339, allocations: 16 kB / 1.504 GB, free: 239.3 MB / 0.8542 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.0003708/0.7343, allocations: 308.2 kB / 1.504 GB, free: 239 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.7344, allocations: 59.34 kB / 1.504 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.7361, allocations: 0.6715 MB / 1.505 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.7361, allocations: 4 kB / 1.505 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.7361, allocations: 8 kB / 1.505 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001434/0.7376, allocations: 0.812 MB / 1.506 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.7404, allocations: 1.32 MB / 1.507 GB, free: 236 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/0.7404, allocations: 3.938 kB / 1.507 GB, free: 236 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.7409, allocations: 68.03 kB / 1.507 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/0.7411, allocations: 48.83 kB / 1.507 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.7412, allocations: 11.98 kB / 1.507 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000358/0.7415, allocations: 0.5796 MB / 1.508 GB, free: 235.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.304e-06/0.7416, allocations: 3.984 kB / 1.508 GB, free: 235.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.7439, allocations: 0.994 MB / 1.509 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.7442, allocations: 188.2 kB / 1.509 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.766e-05/0.7444, allocations: 15.95 kB / 1.509 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/0.745, allocations: 67.94 kB / 1.509 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.7451, allocations: 19.97 kB / 1.509 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.7452, allocations: 24.05 kB / 1.509 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004501/0.7457, allocations: 342.8 kB / 1.51 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.98e-07/0.7457, allocations: 0 / 1.51 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001277/0.747, allocations: 343.5 kB / 1.51 GB, free: 233.2 MB / 0.8542 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.0006695/0.7477, allocations: 280.5 kB / 1.51 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00238/0.7501, allocations: 1.005 MB / 1.511 GB, free: 231.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.744e-06/0.7501, allocations: 0 / 1.511 GB, free: 231.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007422/0.7508, allocations: 335.4 kB / 1.511 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.7525, allocations: 238.8 kB / 1.512 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.755, allocations: 1.338 MB / 1.513 GB, free: 229.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.7554, allocations: 0.8979 MB / 1.514 GB, free: 229 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007221/0.7561, allocations: 127.4 kB / 1.514 GB, free: 228.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.7562, allocations: 47.36 kB / 1.514 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.568e-06/0.7563, allocations: 0 / 1.514 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.02291/0.7792, allocations: 10.67 MB / 1.524 GB, free: 218.5 MB / 0.8542 GB