Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.778/1.778, allocations: 288.4 MB / 303.3 MB, free: 8.207 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.001732/0.001732, allocations: 183.2 kB / 372 MB, free: 10.26 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.745/1.745, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008528/0.0008527, allocations: 88.89 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 12.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2233, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8204/1.044, allocations: 218.8 MB / 1.193 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01241/1.056, allocations: 6.754 MB / 1.2 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/1.059, allocations: 41 kB / 1.2 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002259/1.061, allocations: 466.1 kB / 1.2 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.006733/1.068, allocations: 1.528 MB / 1.202 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005742/1.074, allocations: 1.441 MB / 1.203 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006806/1.081, allocations: 3.757 MB / 1.207 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/1.083, allocations: 0.8067 MB / 1.208 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004346/1.087, allocations: 1.43 MB / 1.209 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/1.089, allocations: 0.9137 MB / 1.21 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/1.089, allocations: 49.28 kB / 1.21 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/1.093, allocations: 1.39 MB / 1.211 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005447/1.093, allocations: 380.2 kB / 1.212 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005259/1.094, allocations: 289.6 kB / 1.212 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002679/1.097, allocations: 1.777 MB / 1.214 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.097, allocations: 6.719 kB / 1.214 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.116e-06/1.097, allocations: 0 / 1.214 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.69e-05/1.097, allocations: 3.938 kB / 1.214 GB, free: 9.449 MB / 0.7448 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.002737/1.099, allocations: 1.481 MB / 1.215 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.1, allocations: 10.81 kB / 1.215 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/1.1, allocations: 126.4 kB / 1.215 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/1.102, allocations: 431.6 kB / 1.216 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/1.104, allocations: 0.9148 MB / 1.217 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/1.104, allocations: 61.16 kB / 1.217 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.104, allocations: 82.34 kB / 1.217 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/1.106, allocations: 0.8731 MB / 1.218 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/1.106, allocations: 0 / 1.218 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/1.106, allocations: 31.97 kB / 1.218 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/1.106, allocations: 26.62 kB / 1.218 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/1.108, allocations: 0.8258 MB / 1.219 GB, free: 6.023 MB / 0.7448 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.005395/1.113, allocations: 3.631 MB / 1.222 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.114, allocations: 1.098 MB / 1.223 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/1.115, allocations: 385.8 kB / 1.224 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009072/1.116, allocations: 416.9 kB / 1.224 GB, free: 32 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.404e-05/1.116, allocations: 39.17 kB / 1.224 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=60): time 5.35e-06/1.116, allocations: 0 / 1.224 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60): time 0.002254/1.118, allocations: 0.9857 MB / 1.225 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.118, allocations: 59.97 kB / 1.225 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/1.12, allocations: 0.8278 MB / 1.226 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/1.12, allocations: 49.64 kB / 1.226 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/1.12, allocations: 472.2 kB / 1.226 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/1.12, allocations: 212.9 kB / 1.227 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/1.12, allocations: 12 kB / 1.227 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.12, allocations: 326 kB / 1.227 GB, free: 13 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/1.121, allocations: 257 kB / 1.227 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/1.122, allocations: 372.3 kB / 1.227 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/1.122, allocations: 306 kB / 1.228 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/1.122, allocations: 0 / 1.228 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00148/1.124, allocations: 0.7504 MB / 1.228 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.306e-05/1.124, allocations: 118.8 kB / 1.229 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.124, allocations: 4 kB / 1.229 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.124, allocations: 4 kB / 1.229 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/1.124, allocations: 131.8 kB / 1.229 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.124, allocations: 8 kB / 1.229 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.126, allocations: 121.9 kB / 1.229 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/1.126, allocations: 20 kB / 1.229 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.126, allocations: 8 kB / 1.229 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/1.127, allocations: 0.6261 MB / 1.229 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.127, allocations: 0 / 1.229 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/1.127, allocations: 7.953 kB / 1.229 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/1.127, allocations: 131.8 kB / 1.23 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.127, allocations: 4 kB / 1.23 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.129, allocations: 123.4 kB / 1.23 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/1.129, allocations: 23.98 kB / 1.23 GB, free: 9.961 MB / 0.7605 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.0006635/1.129, allocations: 372.9 kB / 1.23 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/1.13, allocations: 110.8 kB / 1.23 GB, free: 9.477 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/1.131, allocations: 0.7625 MB / 1.231 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.131, allocations: 11.95 kB / 1.231 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.131, allocations: 3.938 kB / 1.231 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/1.132, allocations: 0.9267 MB / 1.232 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/1.136, allocations: 2.255 MB / 1.234 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/1.136, allocations: 4 kB / 1.234 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/1.137, allocations: 143.9 kB / 1.234 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/1.137, allocations: 7.938 kB / 1.234 GB, free: 5.125 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/1.137, allocations: 16 kB / 1.234 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/1.137, allocations: 8 kB / 1.234 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.137, allocations: 4.188 kB / 1.234 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/1.139, allocations: 1.295 MB / 1.236 GB, free: 3.746 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/1.14, allocations: 263.7 kB / 1.236 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.14, allocations: 16 kB / 1.236 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/1.141, allocations: 101.6 kB / 1.236 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.141, allocations: 52.27 kB / 1.236 GB, free: 3.305 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/1.141, allocations: 20 kB / 1.236 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008181/1.142, allocations: 0.5743 MB / 1.237 GB, free: 2.699 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.81e-07/1.142, allocations: 4 kB / 1.237 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001399/1.143, allocations: 0.5377 MB / 1.237 GB, free: 2.156 MB / 0.7605 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.002806/1.146, allocations: 1.953 MB / 1.239 GB, free: 144 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001905/1.148, allocations: 0.9585 MB / 1.24 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.148, allocations: 4 kB / 1.24 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005901/1.148, allocations: 346.9 kB / 1.24 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.152, allocations: 0.6234 MB / 1.241 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/1.163, allocations: 6.247 MB / 1.247 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/1.164, allocations: 1.124 MB / 1.248 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001314/1.165, allocations: 300 kB / 1.248 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/1.166, allocations: 411.3 kB / 1.249 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of SimCode: time 8.71e-07/1.166, allocations: 0 / 1.249 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05426/1.22, allocations: 28.79 MB / 1.277 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/1.22, allocations: 235.7 kB / 1.277 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/4.31, allocations: 0 / 1.277 GB, free: 9.191 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)