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 2.803/2.803, allocations: 287.5 MB / 302.4 MB, free: 8.41 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.001306/0.001305, allocations: 185.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.307/2.307, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001483/0.001483, allocations: 86.05 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007117/0.0007119, allocations: 12.48 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2229, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05972/0.2826, allocations: 41.15 MB / 1.019 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02526/0.308, allocations: 12.19 MB / 1.031 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.3101, allocations: 31.81 kB / 1.031 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.3121, allocations: 421.3 kB / 1.031 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006472/0.3186, allocations: 1.537 MB / 1.032 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004459/0.3231, allocations: 0.951 MB / 1.033 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006568/0.3297, allocations: 3.604 MB / 1.037 GB, free: 236 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.3315, allocations: 0.7422 MB / 1.038 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.3347, allocations: 1.065 MB / 1.039 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.3366, allocations: 0.8206 MB / 1.039 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.3368, allocations: 48 kB / 1.04 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/0.341, allocations: 1.119 MB / 1.041 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.3415, allocations: 203 kB / 1.041 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007139/0.3422, allocations: 269.1 kB / 1.041 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004079/0.3463, allocations: 1.722 MB / 1.043 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3463, allocations: 0 / 1.043 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3464, allocations: 0 / 1.043 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.452e-05/0.3464, allocations: 0 / 1.043 GB, free: 10.22 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.004421/0.3508, allocations: 1.425 MB / 1.044 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.3509, allocations: 11.97 kB / 1.044 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.3512, allocations: 118.4 kB / 1.044 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004423/0.3516, allocations: 138.5 kB / 1.044 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/0.3555, allocations: 1.159 MB / 1.046 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/0.3556, allocations: 53.31 kB / 1.046 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.3558, allocations: 68 kB / 1.046 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.3578, allocations: 0.7474 MB / 1.046 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.3578, allocations: 4 kB / 1.046 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.358, allocations: 28 kB / 1.046 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/0.358, allocations: 16 kB / 1.046 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.3596, allocations: 0.5359 MB / 1.047 GB, free: 5.781 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.007639/0.3672, allocations: 4.531 MB / 1.051 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.3683, allocations: 358.6 kB / 1.052 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.3689, allocations: 208.8 kB / 1.052 GB, free: 292 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001975/0.3709, allocations: 1.519 MB / 1.053 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.371, allocations: 42.55 kB / 1.053 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 3.587e-06/0.371, allocations: 0 / 1.053 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.00369/0.3747, allocations: 0.8631 MB / 1.054 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3748, allocations: 67.17 kB / 1.054 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.3768, allocations: 0.8831 MB / 1.055 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.3769, allocations: 37.7 kB / 1.055 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005667/0.3775, allocations: 495.8 kB / 1.056 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.3777, allocations: 153.8 kB / 1.056 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.3778, allocations: 19.88 kB / 1.056 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3779, allocations: 322 kB / 1.056 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.3785, allocations: 173 kB / 1.056 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.3792, allocations: 327.1 kB / 1.057 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.3799, allocations: 228.6 kB / 1.057 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.3799, allocations: 4 kB / 1.057 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002588/0.3825, allocations: 0.7211 MB / 1.058 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.3827, allocations: 197.7 kB / 1.058 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/0.3827, allocations: 15.98 kB / 1.058 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009121/0.3837, allocations: 112.7 kB / 1.058 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.3845, allocations: 119.8 kB / 1.058 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007759/0.3853, allocations: 0.6187 MB / 1.059 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3867, allocations: 95.41 kB / 1.059 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.3869, allocations: 31.98 kB / 1.059 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3869, allocations: 0 / 1.059 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002289/0.3892, allocations: 0.6094 MB / 1.059 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.3893, allocations: 11.98 kB / 1.059 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008372/0.3901, allocations: 121 kB / 1.059 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.3909, allocations: 115.8 kB / 1.06 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007607/0.3917, allocations: 0.6264 MB / 1.06 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.393, allocations: 87.55 kB / 1.06 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.3932, allocations: 27.98 kB / 1.06 GB, free: 7.082 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.0007436/0.3939, allocations: 344.9 kB / 1.061 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.3943, allocations: 94.88 kB / 1.061 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.3977, allocations: 1.018 MB / 1.062 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.385e-05/0.3978, allocations: 7.938 kB / 1.062 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.3979, allocations: 8 kB / 1.062 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002404/0.4003, allocations: 0.9201 MB / 1.063 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005566/0.4059, allocations: 1.943 MB / 1.065 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/0.406, allocations: 4 kB / 1.065 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.4067, allocations: 91.97 kB / 1.065 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005422/0.4072, allocations: 80.81 kB / 1.065 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/0.4073, allocations: 19.98 kB / 1.065 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006612/0.408, allocations: 0.6226 MB / 1.065 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.408, allocations: 0 / 1.065 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/0.4114, allocations: 1.255 MB / 1.067 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007593/0.4122, allocations: 303.5 kB / 1.067 GB, free: 180 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.4125, allocations: 12 kB / 1.067 GB, free: 168 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.4136, allocations: 59.84 kB / 1.067 GB, free: 108 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.4138, allocations: 48.44 kB / 1.067 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.4139, allocations: 27.98 kB / 1.067 GB, free: 28 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.6309/1.045, allocations: 0.6054 MB / 1.068 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/1.045, allocations: 3.625 kB / 1.068 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002866/1.048, allocations: 0.6102 MB / 1.068 GB, free: 88.96 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.005237/1.053, allocations: 2.166 MB / 1.07 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002891/1.056, allocations: 0.9243 MB / 1.071 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.056, allocations: 4.625 kB / 1.071 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.057, allocations: 402.5 kB / 1.072 GB, free: 87.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/1.061, allocations: 470.1 kB / 1.072 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.081, allocations: 5.928 MB / 1.078 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008106/1.082, allocations: 1.055 MB / 1.079 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001761/1.084, allocations: 278.8 kB / 1.079 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009351/1.085, allocations: 421 kB / 1.08 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/1.085, allocations: 0 / 1.08 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.19, allocations: 33.1 MB / 1.112 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.19, allocations: 277.1 kB / 1.112 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.908/5.098, allocations: 0 / 1.112 GB, free: 71.55 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)