Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.537/1.537, allocations: 287.4 MB / 302.6 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009044/0.0009041, allocations: 181.6 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006668/0.0006669, allocations: 102.6 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 11.56 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1527, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.02843/0.1812, allocations: 41.16 MB / 1.019 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.1945, allocations: 12.19 MB / 1.031 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.1957, allocations: 43.75 kB / 1.031 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.1968, allocations: 409.3 kB / 1.031 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.2003, allocations: 1.532 MB / 1.033 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.2027, allocations: 0.9542 MB / 1.034 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003142/0.2059, allocations: 3.627 MB / 1.037 GB, free: 24 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008968/0.2068, allocations: 0.8189 MB / 1.038 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.2082, allocations: 1.065 MB / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008592/0.2091, allocations: 0.8362 MB / 1.04 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2092, allocations: 44 kB / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.2111, allocations: 1.119 MB / 1.041 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.2113, allocations: 203 kB / 1.041 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.2115, allocations: 269.1 kB / 1.041 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.213, allocations: 1.726 MB / 1.043 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.213, allocations: 0 / 1.043 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.072e-06/0.213, allocations: 0 / 1.043 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.213, allocations: 0 / 1.043 GB, free: 9.914 MB / 0.6667 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.0022/0.2152, allocations: 1.417 MB / 1.045 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2153, allocations: 11.97 kB / 1.045 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.2154, allocations: 114.7 kB / 1.045 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.2156, allocations: 139.2 kB / 1.045 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.2176, allocations: 1.189 MB / 1.046 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.2176, allocations: 45.31 kB / 1.046 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2177, allocations: 72 kB / 1.046 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.2188, allocations: 0.7513 MB / 1.047 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2188, allocations: 3.938 kB / 1.047 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.2189, allocations: 32 kB / 1.047 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.2189, allocations: 20 kB / 1.047 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.2198, allocations: 0.5281 MB / 1.047 GB, free: 5.457 MB / 0.6667 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.003901/0.2237, allocations: 4.527 MB / 1.052 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.2243, allocations: 358.7 kB / 1.052 GB, free: 176 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.2246, allocations: 208.7 kB / 1.052 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.2257, allocations: 1.523 MB / 1.054 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2258, allocations: 46.48 kB / 1.054 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.2258, allocations: 0 / 1.054 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.001869/0.2277, allocations: 0.867 MB / 1.055 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2277, allocations: 63.17 kB / 1.055 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.2287, allocations: 0.8831 MB / 1.056 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.2288, allocations: 33.7 kB / 1.056 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.2291, allocations: 499.7 kB / 1.056 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.2293, allocations: 157.7 kB / 1.056 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.2293, allocations: 15.94 kB / 1.056 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.2294, allocations: 325.9 kB / 1.057 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.2297, allocations: 173 kB / 1.057 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.2301, allocations: 333.1 kB / 1.057 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.2307, allocations: 0.5175 MB / 1.058 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2308, allocations: 0 / 1.058 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001244/0.232, allocations: 0.698 MB / 1.058 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.2321, allocations: 217.4 kB / 1.059 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.2321, allocations: 4 kB / 1.059 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.2326, allocations: 132.7 kB / 1.059 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.233, allocations: 115.8 kB / 1.059 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004171/0.2334, allocations: 0.6265 MB / 1.059 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.234, allocations: 83.55 kB / 1.059 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.234, allocations: 31.98 kB / 1.059 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-06/0.234, allocations: 4 kB / 1.059 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001125/0.2352, allocations: 0.6094 MB / 1.06 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.2352, allocations: 4 kB / 1.06 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/0.2356, allocations: 124.6 kB / 1.06 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.236, allocations: 116.1 kB / 1.06 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003846/0.2364, allocations: 0.6264 MB / 1.061 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.2369, allocations: 87.55 kB / 1.061 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.2369, allocations: 27.98 kB / 1.061 GB, free: 6.402 MB / 0.6823 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.0003154/0.2372, allocations: 344.9 kB / 1.061 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.2374, allocations: 98.78 kB / 1.061 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.2391, allocations: 1.007 MB / 1.062 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.2391, allocations: 11.98 kB / 1.062 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2391, allocations: 0 / 1.062 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.2402, allocations: 0.9241 MB / 1.063 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.2428, allocations: 1.939 MB / 1.065 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.2428, allocations: 4 kB / 1.065 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.2431, allocations: 95.83 kB / 1.065 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.2434, allocations: 84.88 kB / 1.065 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.2435, allocations: 23.92 kB / 1.065 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003622/0.2439, allocations: 0.6187 MB / 1.066 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2439, allocations: 0 / 1.066 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3157/0.5595, allocations: 1.253 MB / 1.067 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/0.5603, allocations: 296.7 kB / 1.068 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.5606, allocations: 18.31 kB / 1.068 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000822/0.5615, allocations: 56.97 kB / 1.068 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.5616, allocations: 50.47 kB / 1.068 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/0.5617, allocations: 26.98 kB / 1.068 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001049/0.5628, allocations: 0.6142 MB / 1.068 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5628, allocations: 0 / 1.068 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001614/0.5644, allocations: 0.6086 MB / 1.069 GB, free: 88.77 MB / 0.6823 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.002479/0.5669, allocations: 2.172 MB / 1.071 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.5684, allocations: 0.9309 MB / 1.072 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5684, allocations: 0 / 1.072 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.5689, allocations: 407.6 kB / 1.072 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.5709, allocations: 463.2 kB / 1.073 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009471/0.5804, allocations: 5.93 MB / 1.079 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.581, allocations: 1.052 MB / 1.08 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009316/0.5819, allocations: 274.9 kB / 1.08 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/0.5824, allocations: 420.9 kB / 1.08 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/0.5824, allocations: 0 / 1.08 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6357/1.218, allocations: 33.1 MB / 1.113 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/1.218, allocations: 270.4 kB / 1.113 GB, free: 71.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/4.591, allocations: 0 / 1.113 GB, free: 71.1 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)