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.001504/0.001504, 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.001508/0.001508, allocations: 193.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.563/1.563, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.005/3.005, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 61.52 kB / 0.9113 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3693, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8442/1.213, allocations: 237.8 MB / 1.3 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01374/1.227, allocations: 7.293 MB / 1.307 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/1.23, allocations: 48.22 kB / 1.307 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/1.231, allocations: 0.5808 MB / 1.307 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0052/1.237, allocations: 1.953 MB / 1.309 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005324/1.242, allocations: 1.853 MB / 1.311 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005212/1.247, allocations: 4.44 MB / 1.315 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/1.249, allocations: 0.9409 MB / 1.316 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/1.253, allocations: 1.591 MB / 1.318 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/1.255, allocations: 0.998 MB / 1.319 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/1.255, allocations: 62.19 kB / 1.319 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005118/1.26, allocations: 2.836 MB / 1.322 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004997/1.26, allocations: 406.7 kB / 1.322 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009089/1.261, allocations: 0.656 MB / 1.323 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004219/1.266, allocations: 2.766 MB / 1.325 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.266, allocations: 1.125 kB / 1.325 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/1.266, allocations: 0 / 1.325 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.031e-05/1.266, allocations: 4 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.002706/1.268, allocations: 1.721 MB / 1.327 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/1.268, allocations: 8.062 kB / 1.327 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/1.271, allocations: 423.8 kB / 1.328 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/1.273, allocations: 0.9552 MB / 1.329 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/1.273, allocations: 66.78 kB / 1.329 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/1.273, allocations: 81.94 kB / 1.329 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/1.274, allocations: 0.8665 MB / 1.329 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/1.274, allocations: 0 / 1.329 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/1.274, allocations: 35.34 kB / 1.33 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/1.274, allocations: 34.03 kB / 1.33 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/1.276, allocations: 0.8092 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.003932/1.28, allocations: 3.63 MB / 1.334 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/1.281, allocations: 1.095 MB / 1.335 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/1.282, allocations: 377.2 kB / 1.335 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/1.282, allocations: 408 kB / 1.336 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/1.282, allocations: 37.41 kB / 1.336 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 1.934e-06/1.282, allocations: 6.656 kB / 1.336 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.001908/1.284, allocations: 0.9527 MB / 1.337 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/1.284, allocations: 61.28 kB / 1.337 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008893/1.285, allocations: 0.8391 MB / 1.338 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/1.285, allocations: 39.61 kB / 1.338 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/1.285, allocations: 482.8 kB / 1.338 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/1.285, allocations: 210.2 kB / 1.338 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/1.286, allocations: 114.9 kB / 1.338 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.766e-05/1.286, allocations: 324.4 kB / 1.339 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/1.286, allocations: 265.6 kB / 1.339 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/1.287, allocations: 360.5 kB / 1.339 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/1.288, allocations: 0.5909 MB / 1.34 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.288, allocations: 4 kB / 1.34 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001203/1.289, allocations: 0.731 MB / 1.341 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.289, allocations: 5.281 kB / 1.341 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.289, allocations: 2.531 kB / 1.341 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.289, allocations: 4.906 kB / 1.341 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/1.289, allocations: 134.1 kB / 1.341 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.289, allocations: 9.969 kB / 1.341 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009649/1.29, allocations: 129.9 kB / 1.341 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/1.29, allocations: 28.05 kB / 1.341 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007231/1.291, allocations: 0.4897 MB / 1.341 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004855/1.292, allocations: 365.2 kB / 1.342 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008817/1.293, allocations: 0.5767 MB / 1.342 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/1.293, allocations: 0 / 1.342 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001127/1.294, allocations: 0.7159 MB / 1.343 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.294, allocations: 8.312 kB / 1.343 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/1.294, allocations: 7.469 kB / 1.343 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/1.294, allocations: 6.438 kB / 1.343 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/1.294, allocations: 123.7 kB / 1.343 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.294, allocations: 6.703 kB / 1.343 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008963/1.295, allocations: 126.7 kB / 1.343 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/1.295, allocations: 19.16 kB / 1.343 GB, free: 8.629 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.0001509/1.295, allocations: 215.8 kB / 1.343 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/1.296, allocations: 101.5 kB / 1.344 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/1.297, allocations: 0.7421 MB / 1.344 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.297, allocations: 6.281 kB / 1.344 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.297, allocations: 3.938 kB / 1.344 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/1.298, allocations: 0.8998 MB / 1.345 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/1.301, allocations: 2.247 MB / 1.347 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.301, allocations: 11.66 kB / 1.347 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006628/1.302, allocations: 132.6 kB / 1.347 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/1.302, allocations: 7.406 kB / 1.348 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/1.302, allocations: 18.27 kB / 1.348 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/1.302, allocations: 5.938 kB / 1.348 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.302, allocations: 11.88 kB / 1.348 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/1.304, allocations: 1.224 MB / 1.349 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/1.304, allocations: 261.2 kB / 1.349 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/1.304, allocations: 20 kB / 1.349 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/1.305, allocations: 90.42 kB / 1.349 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.305, allocations: 60.02 kB / 1.349 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/1.305, allocations: 23.34 kB / 1.349 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006936/1.306, allocations: 0.586 MB / 1.35 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.306, allocations: 0 / 1.35 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001379/1.308, allocations: 0.5278 MB / 1.35 GB, free: 4.938 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.0005238/1.308, allocations: 256.3 kB / 1.35 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001624/1.31, allocations: 0.9331 MB / 1.351 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.31, allocations: 0 / 1.351 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005485/1.31, allocations: 343.7 kB / 1.352 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/1.313, allocations: 0.6236 MB / 1.352 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/1.316, allocations: 2.547 MB / 1.355 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/1.317, allocations: 1.13 MB / 1.356 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001128/1.318, allocations: 296.2 kB / 1.356 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.318, allocations: 78.28 kB / 1.356 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of SimCode: time 5.82e-07/1.318, allocations: 0 / 1.356 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of Templates: time 0.03427/1.352, allocations: 19.76 MB / 1.376 GB, free: 8.75 MB / 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)