Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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.208/1.208, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008384/0.0008384, allocations: 166 kB / 325.8 MB, free: 2.676 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.226/1.226, allocations: 205 MB / 0.576 GB, free: 20.99 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.000667/0.000667, allocations: 91 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002677, allocations: 12.94 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.4733/0.6077, allocations: 237.8 MB / 1.128 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008766/0.6165, allocations: 7.34 MB / 1.136 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008969/0.6174, allocations: 45.28 kB / 1.136 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.6186, allocations: 0.5816 MB / 1.136 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.6219, allocations: 1.961 MB / 1.138 GB, free: 472 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.625, allocations: 1.886 MB / 1.14 GB, free: 396 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003436/0.6285, allocations: 4.491 MB / 1.144 GB, free: 388 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.6298, allocations: 0.9137 MB / 1.145 GB, free: 232 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.6326, allocations: 1.61 MB / 1.147 GB, free: 204 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.6338, allocations: 0.9576 MB / 1.148 GB, free: 196 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.634, allocations: 49.81 kB / 1.148 GB, free: 196 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.6377, allocations: 2.832 MB / 1.151 GB, free: 168 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.638, allocations: 393.6 kB / 1.151 GB, free: 128 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005441/0.6386, allocations: 0.6446 MB / 1.152 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.6412, allocations: 2.754 MB / 1.154 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.6412, allocations: 0 / 1.154 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6412, allocations: 0 / 1.154 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.6412, allocations: 0 / 1.154 GB, free: 15.32 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001932/0.6431, allocations: 1.486 MB / 1.156 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.6432, allocations: 9.375 kB / 1.156 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.6433, allocations: 130.5 kB / 1.156 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.6455, allocations: 416.7 kB / 1.156 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.6467, allocations: 0.9609 MB / 1.157 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.6467, allocations: 62.31 kB / 1.157 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.991e-05/0.6468, allocations: 86.56 kB / 1.157 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.6481, allocations: 0.8829 MB / 1.158 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.6481, allocations: 6.75 kB / 1.158 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.6482, allocations: 30.22 kB / 1.158 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.6482, allocations: 28 kB / 1.158 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.6495, allocations: 0.8343 MB / 1.159 GB, free: 12.29 MB / 0.7136 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.003592/0.6531, allocations: 3.659 MB / 1.163 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.6543, allocations: 1.1 MB / 1.164 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.6548, allocations: 387.1 kB / 1.164 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005767/0.6553, allocations: 420.5 kB / 1.164 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.6554, allocations: 38.03 kB / 1.164 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 1.943e-06/0.6554, allocations: 0 / 1.164 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.001701/0.6571, allocations: 0.99 MB / 1.165 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.6571, allocations: 58.44 kB / 1.165 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008055/0.6579, allocations: 0.8354 MB / 1.166 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.658, allocations: 41.27 kB / 1.166 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.6583, allocations: 477 kB / 1.167 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.6585, allocations: 215.9 kB / 1.167 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.6585, allocations: 46.58 kB / 1.167 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.6586, allocations: 335.5 kB / 1.167 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.659, allocations: 253.4 kB / 1.168 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.6596, allocations: 385.1 kB / 1.168 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008807/0.6605, allocations: 0.6073 MB / 1.169 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6605, allocations: 0 / 1.169 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001075/0.6616, allocations: 0.7488 MB / 1.169 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.6616, allocations: 127.1 kB / 1.169 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6616, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6617, allocations: 6.438 kB / 1.169 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.6622, allocations: 133.6 kB / 1.17 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6622, allocations: 10.81 kB / 1.17 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.6629, allocations: 126.8 kB / 1.17 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.663, allocations: 26.08 kB / 1.17 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-06/0.663, allocations: 7.656 kB / 1.17 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009376/0.6639, allocations: 0.6156 MB / 1.17 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.6639, allocations: 0 / 1.17 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.6639, allocations: 6.688 kB / 1.17 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.6644, allocations: 134.7 kB / 1.17 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.6644, allocations: 7.469 kB / 1.17 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006704/0.6651, allocations: 121 kB / 1.171 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.6651, allocations: 18.5 kB / 1.171 GB, free: 4.039 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003625/0.6655, allocations: 394.6 kB / 1.171 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.6656, allocations: 100.9 kB / 1.171 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.6668, allocations: 0.7529 MB / 1.172 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6668, allocations: 10.67 kB / 1.172 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6669, allocations: 0 / 1.172 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/0.668, allocations: 0.919 MB / 1.173 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.6707, allocations: 2.267 MB / 1.175 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6708, allocations: 3.531 kB / 1.175 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.6713, allocations: 143.2 kB / 1.175 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.6713, allocations: 5.625 kB / 1.175 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.6714, allocations: 25.86 kB / 1.175 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6714, allocations: 6 kB / 1.175 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6714, allocations: 10.66 kB / 1.175 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.673, allocations: 1.285 MB / 1.176 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.6733, allocations: 260.7 kB / 1.177 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.6734, allocations: 23.08 kB / 1.177 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.6742, allocations: 98.81 kB / 1.177 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.6743, allocations: 46.38 kB / 1.177 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.6743, allocations: 26.41 kB / 1.177 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006057/0.6749, allocations: 0.5843 MB / 1.177 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6749, allocations: 0 / 1.177 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009404/0.6759, allocations: 0.547 MB / 1.178 GB, free: 15.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002159/0.678, allocations: 1.974 MB / 1.18 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.6795, allocations: 0.9595 MB / 1.181 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6795, allocations: 4.062 kB / 1.181 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.68, allocations: 351.7 kB / 1.181 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.6829, allocations: 0.6218 MB / 1.182 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.693, allocations: 8.353 MB / 1.19 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.6935, allocations: 1.132 MB / 1.191 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009125/0.6945, allocations: 296.1 kB / 1.191 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.6949, allocations: 407.3 kB / 1.192 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.6949, allocations: 0 / 1.192 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3927/1.088, allocations: 28.26 MB / 1.219 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/1.088, allocations: 261.3 kB / 1.22 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.802, allocations: 4 kB / 1.22 GB, free: 4.887 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)