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.592/1.592, allocations: 252 MB / 267 MB, free: 10.97 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.001106/0.001106, allocations: 184.2 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007864/0.0007865, allocations: 84.61 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004398, allocations: 10.09 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.258, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.03158/0.2896, allocations: 41.16 MB / 0.9405 GB, free: 22.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.3048, allocations: 12.13 MB / 0.9524 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.3068, allocations: 39.75 kB / 0.9524 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3084, allocations: 413.3 kB / 0.9528 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005467/0.3139, allocations: 1.531 MB / 0.9543 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.3175, allocations: 0.9279 MB / 0.9552 GB, free: 7.461 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004475/0.322, allocations: 3.615 MB / 0.9587 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.3238, allocations: 0.7347 MB / 0.9594 GB, free: 3.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.3266, allocations: 1.058 MB / 0.9605 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.3284, allocations: 0.8244 MB / 0.9613 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004108/0.3288, allocations: 48 kB / 0.9613 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/0.3329, allocations: 1.119 MB / 0.9624 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006134/0.3335, allocations: 203 kB / 0.9626 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008243/0.3343, allocations: 265.1 kB / 0.9629 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.3379, allocations: 1.722 MB / 0.9645 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.3379, allocations: 4 kB / 0.9645 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.474e-06/0.3379, allocations: 0 / 0.9645 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.389e-05/0.338, allocations: 0 / 0.9645 GB, free: 13.84 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.004269/0.3423, allocations: 1.427 MB / 0.9659 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3424, allocations: 12.03 kB / 0.9659 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00036/0.3427, allocations: 114.5 kB / 0.9661 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006783/0.3434, allocations: 134.5 kB / 0.9662 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.3465, allocations: 1.155 MB / 0.9673 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.3466, allocations: 53.31 kB / 0.9674 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.3468, allocations: 71.94 kB / 0.9674 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.3483, allocations: 0.7435 MB / 0.9682 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.3483, allocations: 11.88 kB / 0.9682 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.3484, allocations: 28 kB / 0.9682 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.3484, allocations: 16 kB / 0.9682 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009853/0.3494, allocations: 0.5282 MB / 0.9687 GB, free: 9.41 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.005604/0.355, allocations: 4.508 MB / 0.9731 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.3558, allocations: 366.6 kB / 0.9735 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.3562, allocations: 218 kB / 0.9737 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.3576, allocations: 1.519 MB / 0.9752 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3577, allocations: 38.56 kB / 0.9752 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=43): time 3.106e-06/0.3577, allocations: 0 / 0.9752 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.002358/0.36, allocations: 0.8861 MB / 0.9761 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3601, allocations: 55.41 kB / 0.9761 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.3614, allocations: 0.8754 MB / 0.977 GB, free: 136 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.3615, allocations: 41.69 kB / 0.977 GB, free: 88 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.3619, allocations: 495.7 kB / 0.9775 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.3621, allocations: 157.8 kB / 0.9776 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.3621, allocations: 4 kB / 0.9776 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3622, allocations: 333.9 kB / 0.978 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.3626, allocations: 177 kB / 0.9781 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.363, allocations: 319.1 kB / 0.9784 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.3634, allocations: 228.6 kB / 0.9787 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3634, allocations: 0 / 0.9787 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001543/0.365, allocations: 0.7134 MB / 0.9794 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.3651, allocations: 205.6 kB / 0.9795 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.3652, allocations: 8 kB / 0.9796 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.3658, allocations: 120.8 kB / 0.9797 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.3662, allocations: 119.8 kB / 0.9798 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006127/0.3668, allocations: 0.6225 MB / 0.9804 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.3676, allocations: 91.45 kB / 0.9805 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.3677, allocations: 35.94 kB / 0.9805 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3677, allocations: 6.656 kB / 0.9805 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001318/0.3691, allocations: 0.6015 MB / 0.9811 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.3691, allocations: 8 kB / 0.9811 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004808/0.3696, allocations: 121.1 kB / 0.9812 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.37, allocations: 119.8 kB / 0.9813 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005127/0.3705, allocations: 0.6187 MB / 0.982 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/0.3713, allocations: 87.48 kB / 0.982 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.3713, allocations: 31.98 kB / 0.9821 GB, free: 10.72 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 (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.0006/0.3719, allocations: 341 kB / 0.9824 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.3721, allocations: 94.88 kB / 0.9825 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.3741, allocations: 1.024 MB / 0.9835 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.3742, allocations: 4 kB / 0.9835 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.3742, allocations: 4 kB / 0.9835 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001336/0.3755, allocations: 0.9241 MB / 0.9844 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.3789, allocations: 1.939 MB / 0.9863 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.3789, allocations: 0 / 0.9863 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.3793, allocations: 91.89 kB / 0.9864 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003603/0.3796, allocations: 92.81 kB / 0.9865 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.3797, allocations: 15.98 kB / 0.9865 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004692/0.3802, allocations: 0.6225 MB / 0.9871 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3802, allocations: 0 / 0.9871 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.3823, allocations: 1.251 MB / 0.9883 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/0.3828, allocations: 295.6 kB / 0.9886 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.383, allocations: 15.98 kB / 0.9886 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.3836, allocations: 55.89 kB / 0.9887 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.3837, allocations: 48.44 kB / 0.9887 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-05/0.3838, allocations: 23.98 kB / 0.9887 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001026/0.3848, allocations: 0.6175 MB / 0.9893 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3848, allocations: 0 / 0.9893 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001944/0.3868, allocations: 0.6159 MB / 0.9899 GB, free: 2.445 MB / 0.6355 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.003454/0.3903, allocations: 2.16 MB / 0.992 GB, free: 260 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.3922, allocations: 0.9236 MB / 0.9929 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3922, allocations: 1.5 kB / 0.9929 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.3928, allocations: 414.7 kB / 0.9933 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.3953, allocations: 469.4 kB / 0.9938 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.407, allocations: 5.935 MB / 0.9996 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/0.4078, allocations: 1.054 MB / 1.001 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001198/0.409, allocations: 273.9 kB / 1.001 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/0.4097, allocations: 415.2 kB / 1.001 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/0.4097, allocations: 0 / 1.001 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06359/0.4733, allocations: 33.02 MB / 1.034 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.4736, allocations: 282.7 kB / 1.034 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/3.73, allocations: 0 / 1.034 GB, free: 5.543 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)