Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007905/0.0007906, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008224/0.0008225, allocations: 172.7 kB / 15.95 MB, free: 208 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.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.803/1.803, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005199/0.00052, allocations: 13.12 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2406, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.03954/0.2802, allocations: 41.16 MB / 0.8275 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01581/0.296, allocations: 12.16 MB / 0.8393 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.2979, allocations: 31.81 kB / 0.8394 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2993, allocations: 413.3 kB / 0.8398 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004246/0.3035, allocations: 1.543 MB / 0.8413 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.3064, allocations: 0.9381 MB / 0.8422 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004278/0.3107, allocations: 3.621 MB / 0.8457 GB, free: 15.9 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.3119, allocations: 0.7343 MB / 0.8464 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.314, allocations: 1.062 MB / 0.8475 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.3151, allocations: 0.8361 MB / 0.8483 GB, free: 13.26 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-05/0.3152, allocations: 44 kB / 0.8483 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.3178, allocations: 1.115 MB / 0.8494 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.3181, allocations: 199 kB / 0.8496 GB, free: 11.9 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.3183, allocations: 273.1 kB / 0.8499 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.3203, allocations: 1.722 MB / 0.8516 GB, free: 9.902 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3203, allocations: 4 kB / 0.8516 GB, free: 9.898 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3203, allocations: 0 / 0.8516 GB, free: 9.898 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.3203, allocations: 0 / 0.8516 GB, free: 9.898 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00257/0.3229, allocations: 1.432 MB / 0.853 GB, free: 8.414 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.323, allocations: 8.031 kB / 0.853 GB, free: 8.406 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.3232, allocations: 130.5 kB / 0.8531 GB, free: 8.277 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.3255, allocations: 1.171 MB / 0.8542 GB, free: 7.059 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.3255, allocations: 49.31 kB / 0.8543 GB, free: 7.012 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.3256, allocations: 64 kB / 0.8544 GB, free: 6.949 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.3269, allocations: 0.7514 MB / 0.8551 GB, free: 6.164 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3269, allocations: 7.938 kB / 0.8551 GB, free: 6.156 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.327, allocations: 24 kB / 0.8551 GB, free: 6.133 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.327, allocations: 23.98 kB / 0.8551 GB, free: 6.109 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009142/0.3279, allocations: 0.5282 MB / 0.8557 GB, free: 5.582 MB / 0.67 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.004568/0.3325, allocations: 4.52 MB / 0.8601 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.3331, allocations: 362.7 kB / 0.8604 GB, free: 304 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.3335, allocations: 212.8 kB / 0.8606 GB, free: 88 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.3348, allocations: 1.523 MB / 0.8621 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3348, allocations: 42.56 kB / 0.8621 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 3.165e-06/0.3348, allocations: 0 / 0.8621 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.002005/0.3368, allocations: 0.8929 MB / 0.863 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3369, allocations: 55.41 kB / 0.8631 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.338, allocations: 0.8792 MB / 0.8639 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.3381, allocations: 41.64 kB / 0.864 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.3385, allocations: 487.8 kB / 0.8644 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.3386, allocations: 153.8 kB / 0.8646 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.3387, allocations: 12 kB / 0.8646 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3388, allocations: 333.9 kB / 0.8649 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3391, allocations: 173 kB / 0.8651 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.3395, allocations: 327 kB / 0.8654 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.3399, allocations: 224.6 kB / 0.8656 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3399, allocations: 0 / 0.8656 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001365/0.3413, allocations: 0.7172 MB / 0.8663 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.3414, allocations: 205.4 kB / 0.8665 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.3414, allocations: 11.98 kB / 0.8665 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/0.342, allocations: 120.7 kB / 0.8666 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.3424, allocations: 115.8 kB / 0.8667 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005175/0.3429, allocations: 0.6227 MB / 0.8673 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.3436, allocations: 95.45 kB / 0.8674 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.3436, allocations: 31.98 kB / 0.8675 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.3436, allocations: 4 kB / 0.8675 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/0.3448, allocations: 0.5937 MB / 0.868 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3449, allocations: 8 kB / 0.8681 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/0.3453, allocations: 125 kB / 0.8682 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.3457, allocations: 115.8 kB / 0.8683 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004428/0.3461, allocations: 0.6227 MB / 0.8689 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/0.3467, allocations: 95.41 kB / 0.869 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.3467, allocations: 27.98 kB / 0.869 GB, free: 6.875 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004757/0.3472, allocations: 337.6 kB / 0.8693 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.3474, allocations: 94.88 kB / 0.8694 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.3494, allocations: 1.021 MB / 0.8704 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.3494, allocations: 7.984 kB / 0.8704 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3494, allocations: 0 / 0.8704 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/0.3507, allocations: 0.9319 MB / 0.8713 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.3534, allocations: 1.935 MB / 0.8732 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.3535, allocations: 4 kB / 0.8732 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.3538, allocations: 91.88 kB / 0.8733 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003099/0.3541, allocations: 88.78 kB / 0.8734 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.3542, allocations: 16 kB / 0.8734 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004163/0.3546, allocations: 0.6227 MB / 0.874 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3546, allocations: 4.031 kB / 0.874 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.3564, allocations: 1.255 MB / 0.8753 GB, free: 288 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/0.3568, allocations: 299.5 kB / 0.8755 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.357, allocations: 15.92 kB / 0.8756 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.3575, allocations: 63.86 kB / 0.8756 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3576, allocations: 48.5 kB / 0.8757 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.3577, allocations: 28.05 kB / 0.8757 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008956/0.3586, allocations: 0.6137 MB / 0.8763 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3586, allocations: 0 / 0.8763 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001617/0.3602, allocations: 0.612 MB / 0.8769 GB, free: 14.58 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 Backend phase and start with SimCode phase: time 0.0009909/0.3612, allocations: 0.5212 MB / 0.8774 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.3627, allocations: 0.9157 MB / 0.8783 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.3627, allocations: 3.984 kB / 0.8783 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.3633, allocations: 402.5 kB / 0.8787 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.3652, allocations: 469.2 kB / 0.8791 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.3691, allocations: 2.331 MB / 0.8814 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/0.3698, allocations: 1.058 MB / 0.8824 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000934/0.3708, allocations: 269.3 kB / 0.8827 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.371, allocations: 91.41 kB / 0.8828 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of SimCode: time 8.02e-07/0.371, allocations: 0 / 0.8828 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of Templates: time 0.03682/0.4078, allocations: 23.07 MB / 0.9053 GB, free: 1.723 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) Environment - environmentSimulation: