Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 190.8 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 102.5 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 53.23 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2897, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01643/0.3061, allocations: 20.74 MB / 1.238 GB, free: 96.39 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.007015/0.3132, allocations: 5.476 MB / 1.244 GB, free: 90.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.3141, allocations: 19.88 kB / 1.244 GB, free: 90.88 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.315, allocations: 286.4 kB / 1.244 GB, free: 90.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.3171, allocations: 0.8516 MB / 1.245 GB, free: 89.74 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.3192, allocations: 0.8192 MB / 1.246 GB, free: 88.93 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.3211, allocations: 2.305 MB / 1.248 GB, free: 86.62 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.3216, allocations: 435 kB / 1.248 GB, free: 86.19 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007738/0.3224, allocations: 0.6263 MB / 1.249 GB, free: 85.56 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.3228, allocations: 0.4939 MB / 1.249 GB, free: 85.06 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.465e-05/0.3229, allocations: 28 kB / 1.249 GB, free: 85.04 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.3246, allocations: 1.099 MB / 1.25 GB, free: 83.93 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.3247, allocations: 127.4 kB / 1.251 GB, free: 83.81 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.325, allocations: 306.3 kB / 1.251 GB, free: 83.51 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.3262, allocations: 1.2 MB / 1.252 GB, free: 82.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3262, allocations: 0 / 1.252 GB, free: 82.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3262, allocations: 4 kB / 1.252 GB, free: 82.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3262, allocations: 0 / 1.252 GB, free: 82.3 MB / 0.823 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.001358/0.3276, allocations: 1.038 MB / 1.253 GB, free: 81.21 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3277, allocations: 11.98 kB / 1.253 GB, free: 81.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008028/0.3285, allocations: 180 kB / 1.253 GB, free: 81.02 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.3293, allocations: 0.5497 MB / 1.254 GB, free: 80.43 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.3297, allocations: 96.86 kB / 1.254 GB, free: 80.33 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.3297, allocations: 36 kB / 1.254 GB, free: 80.29 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.3305, allocations: 0.4921 MB / 1.254 GB, free: 79.78 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3305, allocations: 7.938 kB / 1.254 GB, free: 79.77 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.3306, allocations: 16 kB / 1.254 GB, free: 79.76 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.3306, allocations: 15.98 kB / 1.254 GB, free: 79.74 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008994/0.3315, allocations: 410.6 kB / 1.255 GB, free: 79.34 MB / 0.823 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.002389/0.3339, allocations: 2.293 MB / 1.257 GB, free: 76.83 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.3349, allocations: 382.9 kB / 1.257 GB, free: 76.45 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.3353, allocations: 225.8 kB / 1.258 GB, free: 76.23 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.3356, allocations: 340.6 kB / 1.258 GB, free: 75.82 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005688/0.3362, allocations: 298.9 kB / 1.258 GB, free: 75.51 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.3362, allocations: 4 kB / 1.258 GB, free: 75.51 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.002079/0.3383, allocations: 0.8721 MB / 1.259 GB, free: 74.61 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3383, allocations: 85.11 kB / 1.259 GB, free: 74.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.3387, allocations: 498.9 kB / 1.26 GB, free: 74.01 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.3388, allocations: 33.7 kB / 1.26 GB, free: 73.97 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3389, allocations: 276.4 kB / 1.26 GB, free: 73.69 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.339, allocations: 106.5 kB / 1.26 GB, free: 73.59 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3391, allocations: 81.58 kB / 1.26 GB, free: 73.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.3392, allocations: 362.8 kB / 1.261 GB, free: 73.14 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.3396, allocations: 176.8 kB / 1.261 GB, free: 72.96 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.3401, allocations: 273 kB / 1.261 GB, free: 72.66 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000819/0.3409, allocations: 477 kB / 1.261 GB, free: 72.16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3409, allocations: 0 / 1.261 GB, free: 72.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00124/0.3422, allocations: 0.6201 MB / 1.262 GB, free: 71.52 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.3422, allocations: 41.69 kB / 1.262 GB, free: 71.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3422, allocations: 0 / 1.262 GB, free: 71.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.3425, allocations: 72.91 kB / 1.262 GB, free: 71.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.3429, allocations: 83.81 kB / 1.262 GB, free: 71.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003346/0.3432, allocations: 0.5952 MB / 1.263 GB, free: 70.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.3438, allocations: 75.7 kB / 1.263 GB, free: 70.62 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.3438, allocations: 24.05 kB / 1.263 GB, free: 70.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005203/0.3443, allocations: 315.9 kB / 1.263 GB, free: 70.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000431/0.3448, allocations: 261.1 kB / 1.263 GB, free: 70 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000816/0.3456, allocations: 472.8 kB / 1.264 GB, free: 69.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.3456, allocations: 4 kB / 1.264 GB, free: 69.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001095/0.3467, allocations: 0.5928 MB / 1.264 GB, free: 68.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3468, allocations: 37.69 kB / 1.264 GB, free: 68.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3468, allocations: 4 kB / 1.264 GB, free: 68.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.3469, allocations: 44.83 kB / 1.265 GB, free: 68.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.3472, allocations: 88.03 kB / 1.265 GB, free: 68.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.3483, allocations: 1.634 MB / 1.266 GB, free: 66.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.3488, allocations: 63.8 kB / 1.266 GB, free: 66.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.3488, allocations: 20.06 kB / 1.266 GB, free: 66.85 MB / 0.823 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 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.349, allocations: 251 kB / 1.267 GB, free: 66.59 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/0.3491, allocations: 55.34 kB / 1.267 GB, free: 66.54 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.3503, allocations: 0.6454 MB / 1.267 GB, free: 65.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3503, allocations: 4 kB / 1.267 GB, free: 65.87 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.3503, allocations: 4 kB / 1.267 GB, free: 65.87 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/0.3514, allocations: 0.8072 MB / 1.268 GB, free: 64.98 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.3532, allocations: 1.303 MB / 1.269 GB, free: 63.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3533, allocations: 8.094 kB / 1.269 GB, free: 63.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.3536, allocations: 59.94 kB / 1.269 GB, free: 63.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.3537, allocations: 44.78 kB / 1.269 GB, free: 63.49 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.3537, allocations: 11.98 kB / 1.269 GB, free: 63.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002435/0.354, allocations: 0.5796 MB / 1.27 GB, free: 62.88 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.354, allocations: 3.984 kB / 1.27 GB, free: 62.87 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006688/0.3607, allocations: 5.749 MB / 1.276 GB, free: 56.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.3609, allocations: 184.2 kB / 1.276 GB, free: 56.55 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.361, allocations: 11.98 kB / 1.276 GB, free: 56.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.3615, allocations: 59.92 kB / 1.276 GB, free: 56.48 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.3616, allocations: 23.97 kB / 1.276 GB, free: 56.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.3616, allocations: 19.98 kB / 1.276 GB, free: 56.43 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002867/0.3619, allocations: 342.8 kB / 1.276 GB, free: 56.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3619, allocations: 0 / 1.276 GB, free: 56.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00165/0.3636, allocations: 0.5268 MB / 1.277 GB, free: 55.57 MB / 0.823 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006027/0.3642, allocations: 317.7 kB / 1.277 GB, free: 55.26 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.3661, allocations: 0.9863 MB / 1.278 GB, free: 54.24 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3661, allocations: 0 / 1.278 GB, free: 54.24 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.3667, allocations: 319.5 kB / 1.278 GB, free: 53.91 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.368, allocations: 261.9 kB / 1.279 GB, free: 53.66 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3702, allocations: 1.753 MB / 1.28 GB, free: 51.83 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3705, allocations: 0.8863 MB / 1.281 GB, free: 50.92 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004912/0.371, allocations: 132.4 kB / 1.281 GB, free: 50.79 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3711, allocations: 47.42 kB / 1.281 GB, free: 50.74 MB / 0.823 GB Notification: Performance of SimCode: time 5.81e-07/0.3711, allocations: 0 / 1.281 GB, free: 50.74 MB / 0.823 GB Notification: Performance of Templates: time 0.01865/0.3898, allocations: 12.29 MB / 1.293 GB, free: 38.56 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)