Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001584/0.001585, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.514/1.514, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.03 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3915, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9483/1.34, allocations: 237.7 MB / 1.3 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01242/1.352, allocations: 7.299 MB / 1.307 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/1.355, allocations: 48.62 kB / 1.307 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/1.357, allocations: 0.5742 MB / 1.307 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005887/1.363, allocations: 1.96 MB / 1.309 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005336/1.368, allocations: 1.856 MB / 1.311 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005668/1.374, allocations: 4.44 MB / 1.315 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/1.375, allocations: 0.9356 MB / 1.316 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/1.379, allocations: 1.597 MB / 1.318 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/1.381, allocations: 0.9911 MB / 1.319 GB, free: 16.24 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/1.381, allocations: 61.59 kB / 1.319 GB, free: 16.24 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00563/1.387, allocations: 2.844 MB / 1.322 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006535/1.388, allocations: 401.9 kB / 1.322 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/1.389, allocations: 0.6561 MB / 1.323 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004824/1.394, allocations: 2.772 MB / 1.325 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.394, allocations: 0 / 1.325 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.52e-07/1.394, allocations: 2.531 kB / 1.325 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.118e-05/1.394, allocations: 1.031 kB / 1.325 GB, free: 15.66 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.002878/1.397, allocations: 1.717 MB / 1.327 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.397, allocations: 8.781 kB / 1.327 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/1.4, allocations: 427.3 kB / 1.328 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/1.401, allocations: 0.9561 MB / 1.329 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/1.401, allocations: 60.14 kB / 1.329 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.401, allocations: 82.59 kB / 1.329 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/1.403, allocations: 0.8653 MB / 1.329 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/1.403, allocations: 6.531 kB / 1.33 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/1.403, allocations: 40.12 kB / 1.33 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/1.403, allocations: 27.03 kB / 1.33 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/1.405, allocations: 0.806 MB / 1.33 GB, free: 14.23 MB / 0.9981 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.004693/1.409, allocations: 3.637 MB / 1.334 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/1.411, allocations: 1.101 MB / 1.335 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/1.411, allocations: 374.1 kB / 1.335 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/1.412, allocations: 409.4 kB / 1.336 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.412, allocations: 39.25 kB / 1.336 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/1.412, allocations: 0 / 1.336 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.00204/1.414, allocations: 0.9558 MB / 1.337 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/1.414, allocations: 59.38 kB / 1.337 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009376/1.415, allocations: 0.8382 MB / 1.338 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/1.415, allocations: 44.59 kB / 1.338 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/1.415, allocations: 476.1 kB / 1.338 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/1.416, allocations: 212.4 kB / 1.338 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/1.416, allocations: 113.8 kB / 1.338 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/1.416, allocations: 329.6 kB / 1.339 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/1.416, allocations: 256 kB / 1.339 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/1.417, allocations: 368.6 kB / 1.339 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/1.418, allocations: 0.587 MB / 1.34 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.418, allocations: 0 / 1.34 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001217/1.419, allocations: 0.7393 MB / 1.341 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.419, allocations: 2.812 kB / 1.341 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.419, allocations: 2.406 kB / 1.341 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.419, allocations: 2.406 kB / 1.341 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/1.42, allocations: 126.3 kB / 1.341 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.42, allocations: 12.09 kB / 1.341 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.421, allocations: 135.1 kB / 1.341 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/1.421, allocations: 22.81 kB / 1.341 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008086/1.422, allocations: 494.5 kB / 1.341 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004965/1.422, allocations: 367.1 kB / 1.342 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000909/1.423, allocations: 0.5804 MB / 1.342 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/1.423, allocations: 3.938 kB / 1.342 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001184/1.424, allocations: 0.7211 MB / 1.343 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/1.424, allocations: 9.328 kB / 1.343 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/1.424, allocations: 0 / 1.343 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/1.424, allocations: 4.719 kB / 1.343 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/1.425, allocations: 123.6 kB / 1.343 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.425, allocations: 4.281 kB / 1.343 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.426, allocations: 128.5 kB / 1.343 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/1.426, allocations: 22.91 kB / 1.343 GB, free: 8.625 MB / 0.9981 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.0001832/1.426, allocations: 212.2 kB / 1.343 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.426, allocations: 101.3 kB / 1.344 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/1.428, allocations: 0.7417 MB / 1.344 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.428, allocations: 7.906 kB / 1.344 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.428, allocations: 7.938 kB / 1.344 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009891/1.429, allocations: 0.9024 MB / 1.345 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/1.432, allocations: 2.245 MB / 1.347 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.432, allocations: 4.938 kB / 1.347 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/1.433, allocations: 136.9 kB / 1.347 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/1.433, allocations: 5.281 kB / 1.348 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/1.433, allocations: 16.5 kB / 1.348 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/1.433, allocations: 12.44 kB / 1.348 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.433, allocations: 11.81 kB / 1.348 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/1.435, allocations: 1.227 MB / 1.349 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/1.435, allocations: 258 kB / 1.349 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.436, allocations: 15.38 kB / 1.349 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.437, allocations: 101.7 kB / 1.349 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.437, allocations: 49.53 kB / 1.349 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/1.437, allocations: 23.48 kB / 1.349 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001164/1.438, allocations: 0.5857 MB / 1.35 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.71e-07/1.438, allocations: 0 / 1.35 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002286/1.441, allocations: 0.532 MB / 1.35 GB, free: 4.93 MB / 0.9981 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.0008378/1.441, allocations: 258.6 kB / 1.351 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002648/1.444, allocations: 0.9359 MB / 1.351 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.444, allocations: 0 / 1.351 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009048/1.445, allocations: 346.8 kB / 1.352 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/1.45, allocations: 0.6097 MB / 1.352 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/1.455, allocations: 2.548 MB / 1.355 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/1.455, allocations: 1.126 MB / 1.356 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002051/1.457, allocations: 303.1 kB / 1.356 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/1.458, allocations: 77.97 kB / 1.356 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of SimCode: time 1.253e-06/1.458, allocations: 0 / 1.356 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of Templates: time 0.06587/1.524, allocations: 19.76 MB / 1.376 GB, free: 8.711 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)