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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.382/2.382, allocations: 251.3 MB / 266.2 MB, free: 11.54 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.001428/0.001428, allocations: 173.3 kB / 325.8 MB, free: 2.801 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.644/2.644, allocations: 205.4 MB / 0.5767 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.0008948/0.0008948, allocations: 80.25 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006303/0.0006306, allocations: 12.06 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.209, allocations: 106.3 MB / 0.899 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.03245/0.2415, allocations: 19.12 MB / 0.9177 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2536, allocations: 4.991 MB / 0.9226 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.2548, allocations: 19.81 kB / 0.9226 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.2561, allocations: 254.4 kB / 0.9228 GB, free: 41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.2598, allocations: 0.7608 MB / 0.9236 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.2639, allocations: 0.7377 MB / 0.9243 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003842/0.2678, allocations: 1.949 MB / 0.9262 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2688, allocations: 407 kB / 0.9266 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.2704, allocations: 0.5758 MB / 0.9272 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.2715, allocations: 473.9 kB / 0.9276 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.2716, allocations: 24 kB / 0.9276 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.2744, allocations: 0.959 MB / 0.9286 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.2748, allocations: 115.5 kB / 0.9287 GB, free: 35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.2751, allocations: 141.4 kB / 0.9288 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.2766, allocations: 0.8149 MB / 0.9296 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.2767, allocations: 4 kB / 0.9296 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2767, allocations: 0 / 0.9296 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.2767, allocations: 0 / 0.9296 GB, free: 34.04 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.001914/0.2786, allocations: 0.9326 MB / 0.9305 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2787, allocations: 8.031 kB / 0.9305 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.2801, allocations: 196 kB / 0.9307 GB, free: 32.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.2816, allocations: 0.5343 MB / 0.9312 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005894/0.2822, allocations: 96.94 kB / 0.9313 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2823, allocations: 36 kB / 0.9314 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.2838, allocations: 0.4999 MB / 0.9319 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.2838, allocations: 3.938 kB / 0.9319 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.2839, allocations: 16 kB / 0.9319 GB, free: 31.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.2839, allocations: 8 kB / 0.9319 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.2856, allocations: 434.6 kB / 0.9323 GB, free: 31.16 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.003996/0.2896, allocations: 2.297 MB / 0.9345 GB, free: 28.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.2914, allocations: 391 kB / 0.9349 GB, free: 28.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/0.2922, allocations: 234.7 kB / 0.9351 GB, free: 28.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.2925, allocations: 340.6 kB / 0.9355 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009468/0.2935, allocations: 308.7 kB / 0.9358 GB, free: 27.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.447e-06/0.2935, allocations: 4 kB / 0.9358 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.003557/0.2971, allocations: 0.8812 MB / 0.9366 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.2971, allocations: 85.11 kB / 0.9367 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/0.2979, allocations: 486.9 kB / 0.9372 GB, free: 25.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.298, allocations: 37.7 kB / 0.9372 GB, free: 25.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.2983, allocations: 276.4 kB / 0.9375 GB, free: 25.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.2984, allocations: 110.4 kB / 0.9376 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.2985, allocations: 8 kB / 0.9376 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.2986, allocations: 362.7 kB / 0.9379 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.2993, allocations: 179.9 kB / 0.9381 GB, free: 24.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/0.3002, allocations: 273.2 kB / 0.9384 GB, free: 24.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.3015, allocations: 221.6 kB / 0.9386 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3015, allocations: 3.938 kB / 0.9386 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002333/0.3038, allocations: 0.6319 MB / 0.9392 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.304, allocations: 171.8 kB / 0.9394 GB, free: 23.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.304, allocations: 7.922 kB / 0.9394 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004966/0.3045, allocations: 64.75 kB / 0.9394 GB, free: 23.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.3052, allocations: 79.94 kB / 0.9395 GB, free: 23.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005194/0.3057, allocations: 0.5991 MB / 0.9401 GB, free: 22.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3068, allocations: 79.69 kB / 0.9402 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.3069, allocations: 16 kB / 0.9402 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.3069, allocations: 4 kB / 0.9402 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001985/0.3089, allocations: 0.5566 MB / 0.9407 GB, free: 22.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3089, allocations: 4 kB / 0.9407 GB, free: 22.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.3092, allocations: 44.83 kB / 0.9408 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.3098, allocations: 88.03 kB / 0.9409 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.3116, allocations: 1.642 MB / 0.9425 GB, free: 20.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.3127, allocations: 71.7 kB / 0.9425 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.3128, allocations: 19.98 kB / 0.9425 GB, free: 20 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.0004183/0.3132, allocations: 303 kB / 0.9428 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.3134, allocations: 55.34 kB / 0.9429 GB, free: 19.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.3157, allocations: 0.6612 MB / 0.9435 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.3158, allocations: 4 kB / 0.9435 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3158, allocations: 0 / 0.9435 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002046/0.3178, allocations: 0.8286 MB / 0.9443 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.3212, allocations: 1.307 MB / 0.9456 GB, free: 16.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3212, allocations: 4 kB / 0.9456 GB, free: 16.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.3219, allocations: 71.97 kB / 0.9457 GB, free: 16.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.3221, allocations: 52.77 kB / 0.9457 GB, free: 16.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.3222, allocations: 11.98 kB / 0.9458 GB, free: 16.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003725/0.3226, allocations: 0.5758 MB / 0.9463 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3226, allocations: 3.938 kB / 0.9463 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.3255, allocations: 0.9951 MB / 0.9473 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.3259, allocations: 184.3 kB / 0.9475 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.3261, allocations: 8 kB / 0.9475 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009774/0.3271, allocations: 63.91 kB / 0.9475 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.3272, allocations: 23.97 kB / 0.9476 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.3272, allocations: 19.98 kB / 0.9476 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005068/0.3278, allocations: 346.8 kB / 0.9479 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3278, allocations: 0 / 0.9479 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001432/0.3292, allocations: 339.5 kB / 0.9482 GB, free: 13.9 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.0007997/0.33, allocations: 292.7 kB / 0.9485 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003106/0.3332, allocations: 1.007 MB / 0.9495 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.3332, allocations: 4 kB / 0.9495 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000994/0.3342, allocations: 331.5 kB / 0.9498 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.3365, allocations: 256.9 kB / 0.9501 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.3395, allocations: 1.324 MB / 0.9514 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3399, allocations: 0.8784 MB / 0.9522 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008692/0.3408, allocations: 124.3 kB / 0.9523 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.341, allocations: 51.41 kB / 0.9524 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of SimCode: time 1.873e-06/0.341, allocations: 0 / 0.9524 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of Templates: time 0.02704/0.368, allocations: 10.6 MB / 0.9627 GB, free: 15.04 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)