Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 251.5 MB / 266.7 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 182.2 kB / 325.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007174/0.0007173, allocations: 96.53 kB / 0.6797 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 10.16 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 105.4 MB / 0.8962 GB, free: 68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.02861/0.2223, allocations: 44.09 MB / 0.9393 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.2352, allocations: 13.07 MB / 0.952 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.2367, allocations: 35.81 kB / 0.9521 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.238, allocations: 493.2 kB / 0.9525 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.2419, allocations: 1.805 MB / 0.9543 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.2444, allocations: 1.156 MB / 0.9554 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0035/0.2479, allocations: 4.182 MB / 0.9595 GB, free: 2.965 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008956/0.2488, allocations: 0.8239 MB / 0.9603 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.2505, allocations: 1.151 MB / 0.9614 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007445/0.2513, allocations: 0.8749 MB / 0.9623 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.214e-05/0.2514, allocations: 48 kB / 0.9623 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.254, allocations: 1.427 MB / 0.9637 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.2542, allocations: 219 kB / 0.9639 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.2548, allocations: 0.5829 MB / 0.9645 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.2573, allocations: 2.309 MB / 0.9668 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2573, allocations: 4 kB / 0.9668 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2573, allocations: 0 / 0.9668 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.2574, allocations: 0 / 0.9668 GB, free: 11.49 MB / 0.6198 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.002486/0.2599, allocations: 1.421 MB / 0.9681 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2599, allocations: 12.03 kB / 0.9682 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.26, allocations: 110.7 kB / 0.9683 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.2603, allocations: 139.2 kB / 0.9684 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.2624, allocations: 1.193 MB / 0.9696 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.2624, allocations: 49.31 kB / 0.9696 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-05/0.2625, allocations: 71.91 kB / 0.9697 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.2637, allocations: 0.7552 MB / 0.9704 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.2637, allocations: 4 kB / 0.9704 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.2638, allocations: 28 kB / 0.9704 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.2638, allocations: 20 kB / 0.9705 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.2647, allocations: 0.532 MB / 0.971 GB, free: 7.016 MB / 0.6198 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.004095/0.2688, allocations: 4.508 MB / 0.9754 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.2695, allocations: 368.9 kB / 0.9757 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.2699, allocations: 224.7 kB / 0.976 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/0.271, allocations: 1.519 MB / 0.9774 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.2711, allocations: 38.5 kB / 0.9775 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 3.206e-06/0.2711, allocations: 0 / 0.9775 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43): time 0.00201/0.2731, allocations: 0.8862 MB / 0.9783 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2732, allocations: 59.39 kB / 0.9784 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.2743, allocations: 0.887 MB / 0.9793 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.2744, allocations: 37.7 kB / 0.9793 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.2747, allocations: 487.8 kB / 0.9798 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.2748, allocations: 153.8 kB / 0.9799 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.2749, allocations: 41.7 kB / 0.98 GB, free: 13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.275, allocations: 333.9 kB / 0.9803 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.2753, allocations: 177 kB / 0.9804 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.2757, allocations: 331 kB / 0.9808 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000688/0.2764, allocations: 0.5214 MB / 0.9813 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2764, allocations: 4 kB / 0.9813 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001353/0.2777, allocations: 0.7212 MB / 0.982 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.2779, allocations: 213.4 kB / 0.9822 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.2779, allocations: 12.06 kB / 0.9822 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000511/0.2784, allocations: 112.8 kB / 0.9823 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.2788, allocations: 119.8 kB / 0.9824 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004491/0.2792, allocations: 0.6148 MB / 0.983 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/0.2798, allocations: 95.39 kB / 0.9831 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.2799, allocations: 31.98 kB / 0.9831 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/0.2799, allocations: 4 kB / 0.9831 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001186/0.2811, allocations: 0.6128 MB / 0.9837 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.2811, allocations: 8 kB / 0.9837 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004617/0.2816, allocations: 121 kB / 0.9839 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.2819, allocations: 115.8 kB / 0.984 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000451/0.2824, allocations: 0.6265 MB / 0.9846 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.283, allocations: 88.7 kB / 0.9847 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.2831, allocations: 31.98 kB / 0.9847 GB, free: 7.891 MB / 0.6355 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.0004628/0.2835, allocations: 341 kB / 0.985 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.2837, allocations: 90.88 kB / 0.9851 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.2857, allocations: 1.017 MB / 0.9861 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.2857, allocations: 7.984 kB / 0.9861 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2857, allocations: 0 / 0.9861 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001291/0.287, allocations: 0.928 MB / 0.987 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.2899, allocations: 1.951 MB / 0.9889 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.2899, allocations: 4 kB / 0.9889 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.2903, allocations: 91.88 kB / 0.989 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.2906, allocations: 88.83 kB / 0.9891 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.2907, allocations: 19.94 kB / 0.9891 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004257/0.2911, allocations: 0.6148 MB / 0.9897 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2911, allocations: 0 / 0.9897 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.293, allocations: 1.263 MB / 0.9909 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.2934, allocations: 279.5 kB / 0.9912 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.2935, allocations: 15.94 kB / 0.9912 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.294, allocations: 61.72 kB / 0.9913 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.2942, allocations: 44.48 kB / 0.9913 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.2942, allocations: 27.98 kB / 0.9914 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008499/0.2951, allocations: 0.6176 MB / 0.992 GB, free: 236 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.943e-06/0.2951, allocations: 0 / 0.992 GB, free: 236 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001598/0.2967, allocations: 0.6199 MB / 0.9926 GB, free: 15.61 MB / 0.6511 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.002843/0.2996, allocations: 2.182 MB / 0.9947 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.3011, allocations: 0.929 MB / 0.9956 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3011, allocations: 0 / 0.9956 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.3016, allocations: 419 kB / 0.996 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.3037, allocations: 472.6 kB / 0.9965 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.316, allocations: 8.109 MB / 1.004 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.3165, allocations: 1.054 MB / 1.005 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008901/0.3174, allocations: 271.4 kB / 1.006 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.3179, allocations: 415.3 kB / 1.006 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/0.3179, allocations: 0 / 1.006 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5868/0.9047, allocations: 32.73 MB / 1.038 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003346/0.9051, allocations: 315.1 kB / 1.038 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.464/4.37, allocations: 0 / 1.038 GB, free: 0.6523 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)