Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00086/0.0008598, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00767/0.00767, allocations: 171 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000537/0.0005369, allocations: 15.7 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2391, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02332/0.2625, allocations: 20.16 MB / 0.8076 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008822/0.2714, allocations: 5.346 MB / 0.8128 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.2726, allocations: 23.81 kB / 0.8128 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.2738, allocations: 282.4 kB / 0.8131 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.2769, allocations: 0.8504 MB / 0.8139 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.2796, allocations: 0.8123 MB / 0.8147 GB, free: 36 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.2827, allocations: 2.273 MB / 0.8169 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009785/0.2837, allocations: 420.8 kB / 0.8173 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.2852, allocations: 0.6068 MB / 0.8179 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000989/0.2862, allocations: 489.8 kB / 0.8184 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.2863, allocations: 24 kB / 0.8184 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.2887, allocations: 1.099 MB / 0.8195 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.2889, allocations: 119.5 kB / 0.8196 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005628/0.2895, allocations: 324 kB / 0.8199 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.2918, allocations: 1.18 MB / 0.8211 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2918, allocations: 0 / 0.8211 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2918, allocations: 0 / 0.8211 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.086e-05/0.2918, allocations: 0 / 0.8211 GB, free: 9.492 MB / 0.6387 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.002049/0.2939, allocations: 0.9287 MB / 0.822 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.294, allocations: 12.03 kB / 0.822 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.2951, allocations: 192 kB / 0.8222 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.2965, allocations: 0.565 MB / 0.8227 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.2968, allocations: 96.92 kB / 0.8228 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.2969, allocations: 39.98 kB / 0.8228 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.298, allocations: 0.4999 MB / 0.8233 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.298, allocations: 0 / 0.8233 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.2981, allocations: 16 kB / 0.8233 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.2981, allocations: 15.94 kB / 0.8234 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2992, allocations: 430.6 kB / 0.8238 GB, free: 6.586 MB / 0.6387 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.003335/0.3026, allocations: 2.312 MB / 0.826 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.3037, allocations: 391 kB / 0.8264 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.3042, allocations: 233 kB / 0.8266 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/0.3046, allocations: 340.6 kB / 0.8269 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006702/0.3053, allocations: 310.1 kB / 0.8272 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.3053, allocations: 4 kB / 0.8272 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.002411/0.3077, allocations: 0.8925 MB / 0.8281 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.3078, allocations: 85.11 kB / 0.8282 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005881/0.3084, allocations: 495 kB / 0.8287 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.3084, allocations: 33.7 kB / 0.8287 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3087, allocations: 280.4 kB / 0.829 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3088, allocations: 102.5 kB / 0.8291 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.3088, allocations: 37.7 kB / 0.8291 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.309, allocations: 358.8 kB / 0.8294 GB, free: 380 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/0.3095, allocations: 191.7 kB / 0.8296 GB, free: 188 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/0.31, allocations: 270 kB / 0.8299 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.311, allocations: 494.8 kB / 0.8304 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3111, allocations: 3.938 kB / 0.8304 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001551/0.3126, allocations: 0.6396 MB / 0.831 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.3127, allocations: 175.9 kB / 0.8311 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3128, allocations: 0 / 0.8311 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.3131, allocations: 72.81 kB / 0.8312 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.3135, allocations: 83.88 kB / 0.8313 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004519/0.314, allocations: 0.5991 MB / 0.8319 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.3146, allocations: 79.69 kB / 0.832 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.3146, allocations: 19.94 kB / 0.832 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.3147, allocations: 8 kB / 0.832 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/0.3159, allocations: 0.5566 MB / 0.8325 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.3159, allocations: 4.156 kB / 0.8325 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.3161, allocations: 48.83 kB / 0.8326 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.3165, allocations: 83.88 kB / 0.8327 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.3179, allocations: 1.635 MB / 0.8343 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.3185, allocations: 71.7 kB / 0.8343 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.3186, allocations: 19.98 kB / 0.8343 GB, free: 11.05 MB / 0.6544 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.0003694/0.3189, allocations: 298.1 kB / 0.8346 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.319, allocations: 59.34 kB / 0.8347 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.3206, allocations: 0.6686 MB / 0.8353 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.3206, allocations: 11.98 kB / 0.8353 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3206, allocations: 0 / 0.8353 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.3219, allocations: 0.8135 MB / 0.8361 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.3242, allocations: 1.32 MB / 0.8374 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3242, allocations: 4 kB / 0.8374 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.3246, allocations: 71.92 kB / 0.8375 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.3247, allocations: 44.83 kB / 0.8375 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.3248, allocations: 11.98 kB / 0.8376 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003426/0.3251, allocations: 0.5835 MB / 0.8381 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3251, allocations: 3.938 kB / 0.8381 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.3271, allocations: 1.003 MB / 0.8391 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.3273, allocations: 196.2 kB / 0.8393 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.3274, allocations: 15.92 kB / 0.8393 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.328, allocations: 64.02 kB / 0.8394 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.3281, allocations: 19.97 kB / 0.8394 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.3281, allocations: 15.98 kB / 0.8394 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004214/0.3286, allocations: 346.8 kB / 0.8397 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3286, allocations: 0 / 0.8397 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001198/0.3298, allocations: 343.4 kB / 0.8401 GB, free: 4.914 MB / 0.6544 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.0007938/0.3306, allocations: 297.5 kB / 0.8404 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002242/0.3328, allocations: 1.006 MB / 0.8413 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3329, allocations: 0 / 0.8413 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.3335, allocations: 327.4 kB / 0.8416 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.3351, allocations: 255.9 kB / 0.8419 GB, free: 3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.3375, allocations: 1.386 MB / 0.8432 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.338, allocations: 0.8822 MB / 0.8441 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005609/0.3386, allocations: 128.3 kB / 0.8442 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3387, allocations: 51.42 kB / 0.8443 GB, free: 500 kB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/0.3387, allocations: 7.938 kB / 0.8443 GB, free: 492 kB / 0.6544 GB Notification: Performance of Templates: time 0.01973/0.3585, allocations: 11 MB / 0.855 GB, free: 5.609 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: