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.784/1.784, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001408/0.001409, allocations: 182.4 kB / 371.8 MB, free: 10.27 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.557/1.557, allocations: 205.4 MB / 0.6305 GB, free: 9.953 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.0008156/0.0008154, allocations: 98.84 kB / 0.7439 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004247, allocations: 16.22 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7827/1.013, allocations: 196.6 MB / 1.171 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02006/1.033, allocations: 7.186 MB / 1.178 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/1.036, allocations: 41.38 kB / 1.178 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003864/1.04, allocations: 0.668 MB / 1.179 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.012/1.052, allocations: 1.907 MB / 1.181 GB, free: 492 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009487/1.062, allocations: 1.602 MB / 1.183 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006732/1.068, allocations: 1.87 MB / 1.184 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/1.071, allocations: 0.8281 MB / 1.185 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006823/1.078, allocations: 1.412 MB / 1.187 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/1.081, allocations: 0.6147 MB / 1.187 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006416/1.081, allocations: 49.84 kB / 1.187 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005206/1.087, allocations: 1.055 MB / 1.188 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/1.088, allocations: 350.8 kB / 1.189 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/1.089, allocations: 286.2 kB / 1.189 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004912/1.094, allocations: 1.609 MB / 1.19 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.094, allocations: 6.812 kB / 1.19 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.615e-06/1.094, allocations: 0 / 1.19 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001654/1.094, allocations: 0 / 1.19 GB, free: 10.46 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.006457/1.101, allocations: 1.427 MB / 1.192 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/1.101, allocations: 11.38 kB / 1.192 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005496/1.101, allocations: 125.6 kB / 1.192 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/1.106, allocations: 444.9 kB / 1.192 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/1.11, allocations: 0.9158 MB / 1.193 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/1.11, allocations: 59.72 kB / 1.193 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004904/1.111, allocations: 84.75 kB / 1.193 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/1.114, allocations: 0.8605 MB / 1.194 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/1.114, allocations: 6.719 kB / 1.194 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/1.114, allocations: 29.84 kB / 1.194 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/1.114, allocations: 27.72 kB / 1.194 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/1.117, allocations: 0.8213 MB / 1.195 GB, free: 7.375 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.00903/1.126, allocations: 3.634 MB / 1.199 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/1.129, allocations: 1.129 MB / 1.2 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005862/1.129, allocations: 137.3 kB / 1.2 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.13, allocations: 49.94 kB / 1.2 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 4.609e-06/1.13, allocations: 3.094 kB / 1.2 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.003587/1.133, allocations: 0.983 MB / 1.201 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/1.133, allocations: 63.66 kB / 1.201 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/1.135, allocations: 0.8205 MB / 1.202 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/1.135, allocations: 38.73 kB / 1.202 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006737/1.136, allocations: 482.1 kB / 1.202 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/1.137, allocations: 215 kB / 1.202 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/1.137, allocations: 10.62 kB / 1.202 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002516/1.137, allocations: 330.9 kB / 1.203 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007897/1.138, allocations: 254.7 kB / 1.203 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009352/1.139, allocations: 373 kB / 1.203 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000936/1.14, allocations: 305.8 kB / 1.204 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.14, allocations: 2.531 kB / 1.204 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002381/1.142, allocations: 0.7417 MB / 1.204 GB, free: 324 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000308/1.142, allocations: 455.8 kB / 1.205 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.142, allocations: 0 / 1.205 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/1.142, allocations: 2.375 kB / 1.205 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/1.143, allocations: 135.6 kB / 1.205 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/1.143, allocations: 8.578 kB / 1.205 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.145, allocations: 119.4 kB / 1.205 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/1.145, allocations: 22.75 kB / 1.205 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.145, allocations: 2.625 kB / 1.205 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001834/1.147, allocations: 0.6243 MB / 1.206 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.147, allocations: 10.45 kB / 1.206 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/1.147, allocations: 6.5 kB / 1.206 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/1.148, allocations: 132.8 kB / 1.206 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.148, allocations: 5.219 kB / 1.206 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/1.15, allocations: 122.2 kB / 1.206 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/1.15, allocations: 29.36 kB / 1.206 GB, free: 15.33 MB / 0.7448 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.000836/1.151, allocations: 379 kB / 1.206 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/1.151, allocations: 106.6 kB / 1.206 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/1.153, allocations: 0.7523 MB / 1.207 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.153, allocations: 7.938 kB / 1.207 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.153, allocations: 8 kB / 1.207 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001832/1.155, allocations: 0.9228 MB / 1.208 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005812/1.161, allocations: 2.255 MB / 1.21 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.161, allocations: 4 kB / 1.21 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.162, allocations: 148.2 kB / 1.21 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/1.162, allocations: 8 kB / 1.211 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/1.162, allocations: 16 kB / 1.211 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/1.162, allocations: 8 kB / 1.211 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.162, allocations: 4 kB / 1.211 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/1.166, allocations: 1.44 MB / 1.212 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008724/1.166, allocations: 263.7 kB / 1.212 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/1.167, allocations: 19.94 kB / 1.212 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.168, allocations: 101.6 kB / 1.212 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.168, allocations: 52.33 kB / 1.212 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/1.168, allocations: 23.98 kB / 1.212 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001294/1.17, allocations: 0.5665 MB / 1.213 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.3e-07/1.17, allocations: 0 / 1.213 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002131/1.172, allocations: 0.5338 MB / 1.213 GB, free: 7.633 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.004383/1.176, allocations: 3.017 MB / 1.216 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002854/1.179, allocations: 0.9663 MB / 1.217 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.179, allocations: 0 / 1.217 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000992/1.18, allocations: 346.7 kB / 1.218 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/1.185, allocations: 0.6049 MB / 1.218 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/1.203, allocations: 6.783 MB / 1.225 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.204, allocations: 1.139 MB / 1.226 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00195/1.206, allocations: 300.1 kB / 1.226 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009134/1.207, allocations: 415.3 kB / 1.227 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of SimCode: time 1.463e-06/1.207, allocations: 0 / 1.227 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08333/1.29, allocations: 28.74 MB / 1.255 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/1.291, allocations: 234.3 kB / 1.255 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/4.143, allocations: 6.25 kB / 1.255 GB, free: 13.04 MB / 0.7917 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)