Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.Examples.FlowJunction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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.635/2.635, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001602/0.001602, allocations: 177.4 kB / 370.8 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.165/2.165, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001213/0.001212, allocations: 97.59 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006516/0.0006518, allocations: 11.45 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2469, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.037/1.284, allocations: 196.6 MB / 1.17 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01823/1.302, allocations: 7.182 MB / 1.177 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/1.305, allocations: 40.94 kB / 1.177 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003639/1.308, allocations: 0.6723 MB / 1.178 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009212/1.318, allocations: 1.9 MB / 1.18 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007335/1.325, allocations: 1.614 MB / 1.181 GB, free: 276 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005184/1.33, allocations: 1.872 MB / 1.183 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/1.332, allocations: 0.8299 MB / 1.184 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005332/1.338, allocations: 1.409 MB / 1.185 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/1.34, allocations: 0.616 MB / 1.186 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/1.34, allocations: 49.56 kB / 1.186 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/1.345, allocations: 1.061 MB / 1.187 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0008962/1.346, allocations: 347.1 kB / 1.187 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007082/1.347, allocations: 283.8 kB / 1.188 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004125/1.351, allocations: 1.61 MB / 1.189 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.351, allocations: 0 / 1.189 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.871e-06/1.351, allocations: 6.812 kB / 1.189 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.904e-05/1.351, allocations: 3.938 kB / 1.189 GB, free: 11.38 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.004333/1.355, allocations: 1.425 MB / 1.191 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.355, allocations: 10.34 kB / 1.191 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004155/1.356, allocations: 123.1 kB / 1.191 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004142/1.36, allocations: 444.2 kB / 1.191 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/1.363, allocations: 0.9093 MB / 1.192 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/1.363, allocations: 62.47 kB / 1.192 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/1.363, allocations: 82.12 kB / 1.192 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/1.366, allocations: 0.8639 MB / 1.193 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/1.366, allocations: 0 / 1.193 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/1.366, allocations: 35.62 kB / 1.193 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.766e-05/1.366, allocations: 31.83 kB / 1.193 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/1.369, allocations: 0.8184 MB / 1.194 GB, free: 8.297 MB / 0.7292 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.008685/1.378, allocations: 3.642 MB / 1.197 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/1.381, allocations: 1.118 MB / 1.199 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/1.381, allocations: 148.5 kB / 1.199 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/1.381, allocations: 45.14 kB / 1.199 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 3.246e-06/1.381, allocations: 0 / 1.199 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.003715/1.385, allocations: 0.983 MB / 1.2 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.385, allocations: 61.72 kB / 1.2 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/1.387, allocations: 0.817 MB / 1.201 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/1.387, allocations: 38.45 kB / 1.201 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/1.388, allocations: 486.8 kB / 1.201 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/1.388, allocations: 210.5 kB / 1.201 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/1.388, allocations: 14.22 kB / 1.201 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.388, allocations: 327.7 kB / 1.202 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008727/1.389, allocations: 254.5 kB / 1.202 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.39, allocations: 373.2 kB / 1.202 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/1.391, allocations: 308.3 kB / 1.203 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.391, allocations: 0 / 1.203 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002447/1.394, allocations: 0.7419 MB / 1.203 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002827/1.394, allocations: 448.6 kB / 1.204 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.394, allocations: 6.906 kB / 1.204 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/1.394, allocations: 6.422 kB / 1.204 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.395, allocations: 135.4 kB / 1.204 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/1.395, allocations: 8.875 kB / 1.204 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.397, allocations: 119.2 kB / 1.204 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.397, allocations: 26.34 kB / 1.204 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.397, allocations: 2.562 kB / 1.204 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00203/1.399, allocations: 0.6204 MB / 1.205 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.4, allocations: 2.469 kB / 1.205 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.4, allocations: 6.484 kB / 1.205 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.401, allocations: 133.4 kB / 1.205 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.401, allocations: 4.906 kB / 1.205 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/1.402, allocations: 129.2 kB / 1.205 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/1.403, allocations: 25.77 kB / 1.205 GB, free: 264 kB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008795/1.403, allocations: 380.6 kB / 1.205 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/1.404, allocations: 104.1 kB / 1.205 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/1.406, allocations: 0.7548 MB / 1.206 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.406, allocations: 5.75 kB / 1.206 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/1.406, allocations: 0 / 1.206 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002112/1.408, allocations: 0.9269 MB / 1.207 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006259/1.415, allocations: 2.255 MB / 1.209 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.415, allocations: 4 kB / 1.209 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.416, allocations: 152.2 kB / 1.209 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/1.416, allocations: 4 kB / 1.209 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.874e-05/1.416, allocations: 16 kB / 1.209 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/1.416, allocations: 8 kB / 1.209 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.416, allocations: 4 kB / 1.209 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/1.42, allocations: 1.436 MB / 1.211 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/1.421, allocations: 267.7 kB / 1.211 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/1.421, allocations: 16 kB / 1.211 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.423, allocations: 107.6 kB / 1.211 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/1.423, allocations: 52.33 kB / 1.211 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/1.423, allocations: 27.98 kB / 1.211 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001349/1.425, allocations: 0.5626 MB / 1.212 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.425, allocations: 4 kB / 1.212 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002277/1.427, allocations: 0.5338 MB / 1.212 GB, free: 8.82 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005108/1.432, allocations: 3.009 MB / 1.215 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003233/1.436, allocations: 0.9624 MB / 1.216 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.436, allocations: 0 / 1.216 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.437, allocations: 351 kB / 1.216 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00552/1.442, allocations: 0.6041 MB / 1.217 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/1.461, allocations: 6.764 MB / 1.224 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.462, allocations: 1.151 MB / 1.225 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002146/1.464, allocations: 300 kB / 1.225 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.465, allocations: 411.3 kB / 1.225 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of SimCode: time 1.122e-06/1.465, allocations: 4 kB / 1.225 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09801/1.563, allocations: 28.73 MB / 1.254 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003645/1.563, allocations: 241 kB / 1.254 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.604/5.167, allocations: 0 / 1.254 GB, free: 14.27 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)