Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009879, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009584/0.009584, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 14.12 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.384, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.056/1.44, allocations: 234.6 MB / 1.303 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.012/1.452, allocations: 7.217 MB / 1.31 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/1.454, allocations: 45.53 kB / 1.31 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/1.456, allocations: 0.5777 MB / 1.311 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005689/1.461, allocations: 1.955 MB / 1.313 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005573/1.467, allocations: 1.861 MB / 1.315 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006343/1.473, allocations: 4.438 MB / 1.319 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.475, allocations: 0.9105 MB / 1.32 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/1.479, allocations: 1.566 MB / 1.321 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002553/1.482, allocations: 0.9492 MB / 1.322 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002532/1.482, allocations: 50.22 kB / 1.322 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005961/1.488, allocations: 2.834 MB / 1.325 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000653/1.489, allocations: 381.6 kB / 1.325 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0014/1.49, allocations: 0.6586 MB / 1.326 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005861/1.496, allocations: 2.732 MB / 1.329 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.496, allocations: 0.9062 kB / 1.329 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.033e-06/1.496, allocations: 0 / 1.329 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.239e-05/1.496, allocations: 0 / 1.329 GB, free: 4.938 MB / 0.9981 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.00316/1.499, allocations: 1.476 MB / 1.33 GB, free: 20.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.499, allocations: 9.094 kB / 1.33 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/1.502, allocations: 426.4 kB / 1.331 GB, free: 19.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/1.504, allocations: 0.9665 MB / 1.332 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/1.504, allocations: 65.03 kB / 1.332 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/1.504, allocations: 84.62 kB / 1.332 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/1.506, allocations: 0.8762 MB / 1.333 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.506, allocations: 0 / 1.333 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/1.506, allocations: 37.69 kB / 1.333 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/1.506, allocations: 29.92 kB / 1.333 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/1.507, allocations: 0.8312 MB / 1.333 GB, free: 19.55 MB / 1.014 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.004922/1.512, allocations: 3.645 MB / 1.337 GB, free: 17.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/1.514, allocations: 1.112 MB / 1.338 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/1.514, allocations: 383 kB / 1.338 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/1.515, allocations: 423.9 kB / 1.339 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/1.515, allocations: 42.86 kB / 1.339 GB, free: 16.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 2.415e-06/1.515, allocations: 0 / 1.339 GB, free: 16.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.002041/1.517, allocations: 0.9847 MB / 1.34 GB, free: 16.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.517, allocations: 63.5 kB / 1.34 GB, free: 16.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.518, allocations: 0.835 MB / 1.341 GB, free: 16.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/1.518, allocations: 37.95 kB / 1.341 GB, free: 16.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/1.519, allocations: 483.3 kB / 1.341 GB, free: 16.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/1.519, allocations: 214 kB / 1.341 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/1.519, allocations: 56.41 kB / 1.341 GB, free: 16.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.519, allocations: 327.5 kB / 1.342 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/1.519, allocations: 255.9 kB / 1.342 GB, free: 15.88 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/1.52, allocations: 391.8 kB / 1.342 GB, free: 15.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/1.521, allocations: 0.6089 MB / 1.343 GB, free: 15.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.521, allocations: 0 / 1.343 GB, free: 15.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001232/1.522, allocations: 0.7546 MB / 1.344 GB, free: 15.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.806e-05/1.522, allocations: 124.2 kB / 1.344 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.522, allocations: 0 / 1.344 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.522, allocations: 6.438 kB / 1.344 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/1.523, allocations: 129.7 kB / 1.344 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.523, allocations: 7.312 kB / 1.344 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.524, allocations: 135.6 kB / 1.344 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/1.524, allocations: 25.05 kB / 1.344 GB, free: 15.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/1.524, allocations: 5.281 kB / 1.344 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/1.525, allocations: 0.6313 MB / 1.345 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/1.525, allocations: 0 / 1.345 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.882e-06/1.525, allocations: 5.812 kB / 1.345 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/1.526, allocations: 131.4 kB / 1.345 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.526, allocations: 5.594 kB / 1.345 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/1.527, allocations: 131.8 kB / 1.345 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/1.527, allocations: 26.05 kB / 1.345 GB, free: 15.4 MB / 1.014 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.0006624/1.528, allocations: 379 kB / 1.345 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/1.528, allocations: 107.9 kB / 1.346 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/1.529, allocations: 0.7584 MB / 1.346 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/1.529, allocations: 5.844 kB / 1.346 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.529, allocations: 6.297 kB / 1.346 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/1.53, allocations: 0.9245 MB / 1.347 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/1.534, allocations: 2.265 MB / 1.349 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/1.534, allocations: 2.906 kB / 1.349 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006466/1.535, allocations: 145.8 kB / 1.35 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/1.535, allocations: 6.188 kB / 1.35 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/1.535, allocations: 18.88 kB / 1.35 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/1.535, allocations: 8.156 kB / 1.35 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.535, allocations: 3 kB / 1.35 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/1.537, allocations: 1.259 MB / 1.351 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/1.537, allocations: 261.2 kB / 1.351 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.537, allocations: 21.97 kB / 1.351 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008707/1.538, allocations: 95.88 kB / 1.351 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/1.538, allocations: 50.53 kB / 1.351 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/1.538, allocations: 23.48 kB / 1.351 GB, free: 13.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008367/1.539, allocations: 0.5847 MB / 1.352 GB, free: 12.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.01e-07/1.539, allocations: 0 / 1.352 GB, free: 12.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001395/1.541, allocations: 0.5362 MB / 1.352 GB, free: 12.67 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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.0005301/1.541, allocations: 256.9 kB / 1.353 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001683/1.543, allocations: 0.9755 MB / 1.354 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.543, allocations: 0 / 1.354 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005265/1.543, allocations: 349.9 kB / 1.354 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/1.547, allocations: 0.6231 MB / 1.354 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/1.55, allocations: 2.664 MB / 1.357 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/1.551, allocations: 1.124 MB / 1.358 GB, free: 9.523 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001046/1.552, allocations: 304.9 kB / 1.358 GB, free: 9.457 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/1.552, allocations: 76.25 kB / 1.359 GB, free: 9.449 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.552, allocations: 0 / 1.359 GB, free: 9.449 MB / 1.014 GB Notification: Performance of Templates: time 0.0336/1.586, allocations: 19.67 MB / 1.378 GB, free: 464 kB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)