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.000824/0.0008241, allocations: 91.84 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.006908/0.006908, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.761/1.761, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.939/1.939, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005814/0.0005814, allocations: 14.84 kB / 0.6743 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2484, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05277/0.3012, allocations: 43.48 MB / 0.8303 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0187/0.3199, allocations: 12.94 MB / 0.843 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.3223, allocations: 35.81 kB / 0.843 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.3245, allocations: 489.2 kB / 0.8435 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006375/0.3309, allocations: 1.808 MB / 0.8453 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.3349, allocations: 1.181 MB / 0.8464 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005742/0.3407, allocations: 4.195 MB / 0.8505 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.3425, allocations: 0.8306 MB / 0.8513 GB, free: 10.4 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/0.3462, allocations: 1.135 MB / 0.8524 GB, free: 9.258 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.3484, allocations: 0.8827 MB / 0.8533 GB, free: 8.371 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.3487, allocations: 44 kB / 0.8533 GB, free: 8.328 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.3526, allocations: 1.423 MB / 0.8547 GB, free: 6.902 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.353, allocations: 207 kB / 0.8549 GB, free: 6.699 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009886/0.354, allocations: 0.6118 MB / 0.8555 GB, free: 6.078 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.3577, allocations: 2.325 MB / 0.8578 GB, free: 3.746 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3577, allocations: 0 / 0.8578 GB, free: 3.746 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3577, allocations: 3.938 kB / 0.8578 GB, free: 3.742 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.3577, allocations: 0 / 0.8578 GB, free: 3.742 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.002786/0.3605, allocations: 1.425 MB / 0.8592 GB, free: 2.266 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3606, allocations: 12.03 kB / 0.8592 GB, free: 2.254 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.3609, allocations: 127.4 kB / 0.8593 GB, free: 2.129 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.3631, allocations: 1.197 MB / 0.8605 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.3631, allocations: 57.31 kB / 0.8605 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3632, allocations: 68 kB / 0.8606 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3644, allocations: 0.7592 MB / 0.8613 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.3645, allocations: 7.938 kB / 0.8613 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.3645, allocations: 24 kB / 0.8614 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.3646, allocations: 20 kB / 0.8614 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.3655, allocations: 0.532 MB / 0.8619 GB, free: 15.39 MB / 0.6856 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.004448/0.3699, allocations: 4.528 MB / 0.8663 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.3706, allocations: 361.6 kB / 0.8667 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.3709, allocations: 212.8 kB / 0.8669 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.3721, allocations: 1.519 MB / 0.8684 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.3721, allocations: 38.56 kB / 0.8684 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 3.687e-06/0.3721, allocations: 3.984 kB / 0.8684 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.002055/0.3742, allocations: 0.8967 MB / 0.8693 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3743, allocations: 55.41 kB / 0.8693 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.3755, allocations: 0.891 MB / 0.8702 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.3755, allocations: 33.7 kB / 0.8702 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.3759, allocations: 491.8 kB / 0.8707 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.3761, allocations: 149.7 kB / 0.8708 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.3761, allocations: 49.69 kB / 0.8709 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3763, allocations: 333.9 kB / 0.8712 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.3766, allocations: 177 kB / 0.8714 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.377, allocations: 335 kB / 0.8717 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.3777, allocations: 0.5175 MB / 0.8722 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3777, allocations: 4 kB / 0.8722 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001359/0.3791, allocations: 0.7178 MB / 0.8729 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.3792, allocations: 221.1 kB / 0.8731 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3792, allocations: 7.938 kB / 0.8731 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.3798, allocations: 112.8 kB / 0.8732 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.3802, allocations: 119.8 kB / 0.8733 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004888/0.3807, allocations: 0.6303 MB / 0.874 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/0.3814, allocations: 83.55 kB / 0.874 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.3814, allocations: 35.92 kB / 0.8741 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3815, allocations: 6.812 kB / 0.8741 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001227/0.3827, allocations: 0.6092 MB / 0.8747 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3827, allocations: 8 kB / 0.8747 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/0.3832, allocations: 117.1 kB / 0.8748 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.3835, allocations: 115.8 kB / 0.8749 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000437/0.384, allocations: 0.6187 MB / 0.8755 GB, free: 376 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.3847, allocations: 95.48 kB / 0.8756 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.3848, allocations: 24 kB / 0.8756 GB, free: 256 kB / 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 (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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005313/0.3853, allocations: 345 kB / 0.876 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.3855, allocations: 98.78 kB / 0.876 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.3873, allocations: 1.024 MB / 0.877 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.3874, allocations: 15.98 kB / 0.8771 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3874, allocations: 0 / 0.8771 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00129/0.3887, allocations: 0.9203 MB / 0.878 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.3917, allocations: 1.947 MB / 0.8799 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.3917, allocations: 0 / 0.8799 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.3921, allocations: 99.97 kB / 0.88 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/0.3924, allocations: 76.81 kB / 0.88 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.3925, allocations: 23.92 kB / 0.8801 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004401/0.3929, allocations: 0.6148 MB / 0.8807 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3929, allocations: 3.938 kB / 0.8807 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.3949, allocations: 1.263 MB / 0.8819 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.3953, allocations: 299.5 kB / 0.8822 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.3955, allocations: 12 kB / 0.8822 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005518/0.396, allocations: 62.41 kB / 0.8822 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3961, allocations: 44.5 kB / 0.8823 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.3962, allocations: 27.98 kB / 0.8823 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009215/0.3971, allocations: 0.6215 MB / 0.8829 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3971, allocations: 0 / 0.8829 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001647/0.3988, allocations: 0.6198 MB / 0.8835 GB, free: 7.934 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 (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 Backend phase and start with SimCode phase: time 0.001057/0.3999, allocations: 0.5186 MB / 0.884 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.4016, allocations: 0.9239 MB / 0.8849 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4016, allocations: 8.062 kB / 0.8849 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006027/0.4022, allocations: 414.5 kB / 0.8853 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.4045, allocations: 471.5 kB / 0.8858 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.4079, allocations: 2.38 MB / 0.8881 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.4085, allocations: 1.046 MB / 0.8891 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000976/0.4095, allocations: 277.5 kB / 0.8894 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.4097, allocations: 95.34 kB / 0.8895 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of SimCode: time 1.192e-06/0.4097, allocations: 0 / 0.8895 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of Templates: time 0.04341/0.4531, allocations: 23.62 MB / 0.9126 GB, free: 10.45 MB / 0.7325 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: