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.373/1.373, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009446/0.0009448, allocations: 171.5 kB / 327 MB, free: 2.121 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.88/1.88, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0009087/0.0009086, allocations: 91.78 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003425, allocations: 9.125 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2064, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.03563/0.2421, allocations: 43.5 MB / 0.9434 GB, free: 19.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.2565, allocations: 12.92 MB / 0.956 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.2584, allocations: 35.81 kB / 0.956 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.2602, allocations: 489.2 kB / 0.9565 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.2654, allocations: 1.801 MB / 0.9583 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.2685, allocations: 1.169 MB / 0.9594 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004295/0.2728, allocations: 4.173 MB / 0.9635 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.2744, allocations: 0.8387 MB / 0.9643 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.277, allocations: 1.151 MB / 0.9654 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.2786, allocations: 0.8865 MB / 0.9663 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002654/0.2789, allocations: 44 kB / 0.9663 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.2823, allocations: 1.423 MB / 0.9677 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003653/0.2826, allocations: 207 kB / 0.9679 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.2837, allocations: 0.6079 MB / 0.9685 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00417/0.2879, allocations: 2.317 MB / 0.9708 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2879, allocations: 4 kB / 0.9708 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2879, allocations: 0 / 0.9708 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.433e-05/0.288, allocations: 0 / 0.9708 GB, free: 7.605 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.003668/0.2917, allocations: 1.423 MB / 0.9722 GB, free: 6.133 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.2917, allocations: 12.02 kB / 0.9722 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/0.292, allocations: 110.7 kB / 0.9723 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004877/0.2925, allocations: 135.1 kB / 0.9724 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.2953, allocations: 1.193 MB / 0.9736 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.2954, allocations: 49.31 kB / 0.9736 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.2955, allocations: 71.91 kB / 0.9737 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.2968, allocations: 0.7553 MB / 0.9744 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.2969, allocations: 3.938 kB / 0.9744 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.2969, allocations: 31.98 kB / 0.9745 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.297, allocations: 16 kB / 0.9745 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.298, allocations: 0.5359 MB / 0.975 GB, free: 3.141 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.004967/0.303, allocations: 4.512 MB / 0.9794 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.3037, allocations: 366.6 kB / 0.9798 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.304, allocations: 216.8 kB / 0.98 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.3053, allocations: 1.523 MB / 0.9815 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3054, allocations: 42.5 kB / 0.9815 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/0.3054, allocations: 0 / 0.9815 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43): time 0.002103/0.3075, allocations: 0.8784 MB / 0.9824 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.462e-05/0.3076, allocations: 59.41 kB / 0.9824 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.3089, allocations: 0.8909 MB / 0.9833 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.3089, allocations: 33.7 kB / 0.9833 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.3093, allocations: 487.8 kB / 0.9838 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.3095, allocations: 157.8 kB / 0.9839 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.3095, allocations: 11.94 kB / 0.984 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3096, allocations: 333.9 kB / 0.9843 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.3099, allocations: 173 kB / 0.9844 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.3104, allocations: 335 kB / 0.9848 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007465/0.3111, allocations: 0.5253 MB / 0.9853 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3111, allocations: 4 kB / 0.9853 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001502/0.3126, allocations: 0.7174 MB / 0.986 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.3128, allocations: 209.4 kB / 0.9862 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.3128, allocations: 8 kB / 0.9862 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.3134, allocations: 116.8 kB / 0.9863 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.3139, allocations: 119.8 kB / 0.9864 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005188/0.3144, allocations: 0.6226 MB / 0.987 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/0.3151, allocations: 91.45 kB / 0.9871 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.198e-05/0.3152, allocations: 27.98 kB / 0.9871 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3153, allocations: 4 kB / 0.9871 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/0.3166, allocations: 0.613 MB / 0.9877 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.3166, allocations: 8.094 kB / 0.9877 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.3171, allocations: 128.7 kB / 0.9879 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.3176, allocations: 115.8 kB / 0.988 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005469/0.3181, allocations: 0.6226 MB / 0.9886 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/0.319, allocations: 87.45 kB / 0.9887 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.3191, allocations: 31.98 kB / 0.9887 GB, free: 4.055 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.0006346/0.3197, allocations: 332.9 kB / 0.989 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.32, allocations: 102.9 kB / 0.9891 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.3223, allocations: 1.009 MB / 0.9901 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.3223, allocations: 4 kB / 0.9901 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.3223, allocations: 3.984 kB / 0.9901 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/0.3238, allocations: 0.9241 MB / 0.991 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.3271, allocations: 1.951 MB / 0.9929 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.3272, allocations: 0 / 0.9929 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.3275, allocations: 95.88 kB / 0.993 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.3279, allocations: 76.81 kB / 0.9931 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.328, allocations: 28.02 kB / 0.9931 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004298/0.3284, allocations: 0.611 MB / 0.9937 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3284, allocations: 3.938 kB / 0.9937 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.3306, allocations: 1.263 MB / 0.9949 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000634/0.3312, allocations: 299.6 kB / 0.9952 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.3314, allocations: 19.92 kB / 0.9952 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/0.3321, allocations: 61.48 kB / 0.9953 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3322, allocations: 48.48 kB / 0.9953 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.3322, allocations: 27.92 kB / 0.9954 GB, free: 13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001055/0.3333, allocations: 0.6176 MB / 0.996 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3333, allocations: 0 / 0.996 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001695/0.335, allocations: 0.612 MB / 0.9966 GB, free: 11.76 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.003062/0.3381, allocations: 2.19 MB / 0.9987 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.3398, allocations: 0.9279 MB / 0.9996 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3398, allocations: 0 / 0.9996 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.3404, allocations: 407.9 kB / 1 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.3427, allocations: 473.7 kB / 1 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.3568, allocations: 8.196 MB / 1.008 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.3575, allocations: 1.054 MB / 1.009 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009538/0.3585, allocations: 272 kB / 1.01 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005398/0.359, allocations: 419.3 kB / 1.01 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of SimCode: time 8.21e-07/0.3591, allocations: 7.938 kB / 1.01 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06211/0.4212, allocations: 32.72 MB / 1.042 GB, free: 13.09 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.4215, allocations: 314.8 kB / 1.042 GB, free: 12.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/3.7, allocations: 4 kB / 1.042 GB, free: 12.7 MB / 0.698 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)