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: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.633/2.633, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.00135/0.00135, allocations: 184 kB / 371 MB, free: 10.88 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.189/2.189, allocations: 205.4 MB / 0.6297 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.0009876/0.0009871, allocations: 95.69 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 16.47 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.228, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.02/1.248, allocations: 218.8 MB / 1.192 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01651/1.265, allocations: 6.749 MB / 1.199 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/1.267, allocations: 41.19 kB / 1.199 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002688/1.27, allocations: 471 kB / 1.199 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.007021/1.277, allocations: 1.52 MB / 1.201 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006735/1.284, allocations: 1.458 MB / 1.202 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007036/1.291, allocations: 3.748 MB / 1.206 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/1.293, allocations: 0.804 MB / 1.206 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005346/1.299, allocations: 1.434 MB / 1.208 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/1.301, allocations: 0.9057 MB / 1.209 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005048/1.302, allocations: 49.5 kB / 1.209 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006044/1.308, allocations: 1.397 MB / 1.21 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/1.309, allocations: 383.2 kB / 1.211 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0008963/1.31, allocations: 283.4 kB / 1.211 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004747/1.315, allocations: 1.788 MB / 1.213 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.315, allocations: 0 / 1.213 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.326e-06/1.315, allocations: 0 / 1.213 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.487e-05/1.315, allocations: 0 / 1.213 GB, free: 10.46 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.004843/1.32, allocations: 1.483 MB / 1.214 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.32, allocations: 11.09 kB / 1.214 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/1.324, allocations: 425.6 kB / 1.214 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/1.327, allocations: 0.9164 MB / 1.215 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.208e-05/1.327, allocations: 63.34 kB / 1.215 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/1.328, allocations: 84.66 kB / 1.215 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/1.33, allocations: 0.8723 MB / 1.216 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/1.33, allocations: 0 / 1.216 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/1.33, allocations: 40 kB / 1.216 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/1.331, allocations: 30.67 kB / 1.216 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/1.333, allocations: 0.8244 MB / 1.217 GB, free: 7.391 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.009215/1.343, allocations: 3.639 MB / 1.221 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/1.347, allocations: 1.094 MB / 1.222 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/1.348, allocations: 388.2 kB / 1.222 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/1.349, allocations: 412.9 kB / 1.223 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/1.349, allocations: 39.12 kB / 1.223 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/1.349, allocations: 3.938 kB / 1.223 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.003917/1.353, allocations: 0.978 MB / 1.224 GB, free: 372 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/1.353, allocations: 63.97 kB / 1.224 GB, free: 296 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/1.355, allocations: 0.82 MB / 1.224 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/1.356, allocations: 41.69 kB / 1.224 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/1.356, allocations: 472.2 kB / 1.225 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/1.357, allocations: 216.9 kB / 1.225 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/1.357, allocations: 12 kB / 1.225 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.357, allocations: 334 kB / 1.225 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000919/1.358, allocations: 249 kB / 1.226 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.359, allocations: 380.2 kB / 1.226 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/1.36, allocations: 302 kB / 1.226 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.36, allocations: 4 kB / 1.226 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002573/1.363, allocations: 0.7476 MB / 1.227 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.363, allocations: 120.9 kB / 1.227 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.363, allocations: 4.094 kB / 1.227 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.041e-05/1.363, allocations: 4 kB / 1.227 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.364, allocations: 131.8 kB / 1.227 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.364, allocations: 4 kB / 1.227 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.366, allocations: 119.5 kB / 1.227 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.366, allocations: 24 kB / 1.227 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.366, allocations: 4 kB / 1.227 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002213/1.368, allocations: 0.6222 MB / 1.228 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.368, allocations: 4 kB / 1.228 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/1.368, allocations: 4.078 kB / 1.228 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.37, allocations: 135.8 kB / 1.228 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.37, allocations: 4 kB / 1.228 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/1.371, allocations: 132.6 kB / 1.228 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/1.371, allocations: 23.98 kB / 1.228 GB, free: 11.32 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.000871/1.372, allocations: 376.9 kB / 1.229 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/1.373, allocations: 102.8 kB / 1.229 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/1.375, allocations: 0.771 MB / 1.23 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.375, allocations: 4 kB / 1.23 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.375, allocations: 4 kB / 1.23 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002161/1.378, allocations: 0.9267 MB / 1.23 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006386/1.384, allocations: 2.247 MB / 1.233 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.384, allocations: 4 kB / 1.233 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/1.385, allocations: 148.2 kB / 1.233 GB, free: 6.508 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/1.385, allocations: 4 kB / 1.233 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.104e-05/1.386, allocations: 20 kB / 1.233 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/1.386, allocations: 7.984 kB / 1.233 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/1.386, allocations: 11.89 kB / 1.233 GB, free: 6.465 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/1.389, allocations: 1.288 MB / 1.234 GB, free: 5.121 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008863/1.39, allocations: 259.7 kB / 1.234 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/1.39, allocations: 16 kB / 1.234 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/1.392, allocations: 103.8 kB / 1.234 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/1.392, allocations: 56.27 kB / 1.235 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.31e-05/1.393, allocations: 20 kB / 1.235 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001378/1.394, allocations: 0.5704 MB / 1.235 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.61e-07/1.394, allocations: 0 / 1.235 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002373/1.396, allocations: 0.5377 MB / 1.236 GB, free: 3.535 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.0007704/1.397, allocations: 231.7 kB / 1.236 GB, free: 3.305 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003322/1.401, allocations: 0.9588 MB / 1.237 GB, free: 2.348 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.401, allocations: 0 / 1.237 GB, free: 2.348 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.402, allocations: 355 kB / 1.237 GB, free: 2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005971/1.408, allocations: 0.6321 MB / 1.238 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/1.414, allocations: 2.606 MB / 1.24 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.415, allocations: 1.124 MB / 1.241 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00212/1.417, allocations: 296.1 kB / 1.242 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/1.418, allocations: 83.38 kB / 1.242 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of SimCode: time 1.142e-06/1.418, allocations: 0 / 1.242 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.0719/1.49, allocations: 19.1 MB / 1.26 GB, free: 10.3 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)