Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001151/0.001151, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001337/0.001337, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 251.9 MB / 0.51 GB, free: 4.789 MB / 414.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.000568/0.0005682, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.6267, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01828/0.6451, allocations: 17.5 MB / 0.7451 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007619/0.6527, allocations: 4.614 MB / 0.7496 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.6537, allocations: 15.88 kB / 0.7496 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.6548, allocations: 302.5 kB / 0.7499 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.6575, allocations: 0.8063 MB / 0.7507 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.6603, allocations: 0.8465 MB / 0.7515 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.6625, allocations: 1.03 MB / 0.7525 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007209/0.6632, allocations: 405.1 kB / 0.7529 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.6642, allocations: 0.5217 MB / 0.7534 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.6647, allocations: 338.5 kB / 0.7537 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.6648, allocations: 24 kB / 0.7537 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.6667, allocations: 0.8229 MB / 0.7545 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.6668, allocations: 111.6 kB / 0.7546 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.667, allocations: 145.4 kB / 0.7548 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.668, allocations: 0.7717 MB / 0.7555 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.6681, allocations: 0 / 0.7555 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.306e-06/0.6681, allocations: 0 / 0.7555 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.6681, allocations: 3.938 kB / 0.7555 GB, free: 15.09 MB / 0.5762 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.00156/0.6696, allocations: 0.9091 MB / 0.7564 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6697, allocations: 12.03 kB / 0.7564 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008556/0.6706, allocations: 195 kB / 0.7566 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.6714, allocations: 0.5026 MB / 0.7571 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/0.6717, allocations: 100.8 kB / 0.7572 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.6718, allocations: 40 kB / 0.7572 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009301/0.6728, allocations: 0.4921 MB / 0.7577 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.6728, allocations: 3.938 kB / 0.7577 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.6728, allocations: 20 kB / 0.7578 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.6729, allocations: 8 kB / 0.7578 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000965/0.6738, allocations: 430.6 kB / 0.7582 GB, free: 12.27 MB / 0.5762 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.003159/0.677, allocations: 2.309 MB / 0.7604 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.678, allocations: 398.9 kB / 0.7608 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/0.6784, allocations: 336.6 kB / 0.7611 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/0.679, allocations: 308.1 kB / 0.7614 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.567e-06/0.679, allocations: 0 / 0.7614 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002199/0.6812, allocations: 0.9594 MB / 0.7624 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.6813, allocations: 89.09 kB / 0.7624 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.6818, allocations: 0.495 MB / 0.7629 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.6819, allocations: 33.7 kB / 0.763 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.6821, allocations: 276.4 kB / 0.7632 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.6822, allocations: 106.4 kB / 0.7633 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.6822, allocations: 7.938 kB / 0.7633 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6824, allocations: 362.8 kB / 0.7637 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.6829, allocations: 175.9 kB / 0.7638 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.6833, allocations: 273.1 kB / 0.7641 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.6838, allocations: 225.5 kB / 0.7643 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6838, allocations: 0 / 0.7643 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001341/0.6852, allocations: 0.6404 MB / 0.7649 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.6855, allocations: 0.6453 MB / 0.7656 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6855, allocations: 0 / 0.7656 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/0.6859, allocations: 60.81 kB / 0.7656 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.6862, allocations: 91.88 kB / 0.7657 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004831/0.6867, allocations: 0.5991 MB / 0.7663 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.6873, allocations: 79.69 kB / 0.7664 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.6873, allocations: 16 kB / 0.7664 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.6874, allocations: 10.28 kB / 0.7664 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/0.6886, allocations: 0.5567 MB / 0.7669 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.6886, allocations: 0 / 0.7669 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.6887, allocations: 52.78 kB / 0.767 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.6891, allocations: 87.91 kB / 0.7671 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.6906, allocations: 1.631 MB / 0.7687 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.6912, allocations: 79.69 kB / 0.7688 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.6912, allocations: 16 kB / 0.7688 GB, free: 0.7031 MB / 0.5762 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.0003786/0.6916, allocations: 298.9 kB / 0.7691 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.6917, allocations: 67.33 kB / 0.7691 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.6931, allocations: 0.6612 MB / 0.7698 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.6931, allocations: 7.953 kB / 0.7698 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.6931, allocations: 0 / 0.7698 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/0.6944, allocations: 0.8136 MB / 0.7706 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.6965, allocations: 1.319 MB / 0.7719 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6965, allocations: 8.094 kB / 0.7719 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.6969, allocations: 63.89 kB / 0.7719 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.697, allocations: 44.83 kB / 0.772 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.697, allocations: 12 kB / 0.772 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003426/0.6974, allocations: 0.5758 MB / 0.7725 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6974, allocations: 0 / 0.7725 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.6992, allocations: 1.036 MB / 0.7735 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.6995, allocations: 188.3 kB / 0.7737 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.6996, allocations: 8 kB / 0.7737 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.7001, allocations: 71.84 kB / 0.7738 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.7002, allocations: 23.97 kB / 0.7738 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.7002, allocations: 15.98 kB / 0.7738 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004162/0.7007, allocations: 358.8 kB / 0.7742 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7007, allocations: 0 / 0.7742 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001134/0.7018, allocations: 351.4 kB / 0.7745 GB, free: 10.52 MB / 0.5919 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.0006701/0.7025, allocations: 303.9 kB / 0.7748 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.7045, allocations: 1.003 MB / 0.7758 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.7045, allocations: 0 / 0.7758 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/0.7052, allocations: 331.9 kB / 0.7761 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.7064, allocations: 231.4 kB / 0.7763 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.7086, allocations: 1.344 MB / 0.7776 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.7091, allocations: 0.8901 MB / 0.7785 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005265/0.7096, allocations: 132.3 kB / 0.7786 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.7097, allocations: 43.42 kB / 0.7787 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/0.7098, allocations: 0 / 0.7787 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of Templates: time 0.01896/0.7287, allocations: 10.87 MB / 0.7893 GB, free: 11.42 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: