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.001296/0.001296, allocations: 97.64 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.01265/0.01265, allocations: 170.1 kB / 16.27 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.637/1.637, 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.908/2.908, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 9.844 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3368, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9979/1.335, allocations: 234.6 MB / 1.303 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01165/1.347, allocations: 7.221 MB / 1.31 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/1.349, allocations: 45.22 kB / 1.31 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/1.351, allocations: 0.5779 MB / 1.311 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005648/1.356, allocations: 1.957 MB / 1.313 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005013/1.361, allocations: 1.858 MB / 1.315 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006212/1.368, allocations: 4.436 MB / 1.319 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/1.369, allocations: 0.9154 MB / 1.32 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/1.373, allocations: 1.564 MB / 1.321 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/1.375, allocations: 0.9532 MB / 1.322 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/1.375, allocations: 49.09 kB / 1.322 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00549/1.381, allocations: 2.827 MB / 1.325 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005559/1.382, allocations: 386.6 kB / 1.325 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/1.383, allocations: 0.6527 MB / 1.326 GB, free: 21.03 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004883/1.388, allocations: 2.736 MB / 1.329 GB, free: 20.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.388, allocations: 0 / 1.329 GB, free: 20.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.455e-06/1.388, allocations: 4 kB / 1.329 GB, free: 20.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.64e-05/1.388, allocations: 0 / 1.329 GB, free: 20.88 MB / 1.014 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.002733/1.391, allocations: 1.472 MB / 1.33 GB, free: 20.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.391, allocations: 9.906 kB / 1.33 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/1.393, allocations: 428.5 kB / 1.331 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/1.395, allocations: 0.9661 MB / 1.332 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/1.395, allocations: 63.91 kB / 1.332 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/1.395, allocations: 85.16 kB / 1.332 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/1.397, allocations: 0.8819 MB / 1.333 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/1.397, allocations: 0 / 1.333 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-05/1.397, allocations: 29.72 kB / 1.333 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/1.397, allocations: 30.72 kB / 1.333 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/1.399, allocations: 0.833 MB / 1.333 GB, free: 19.49 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.005215/1.404, allocations: 3.648 MB / 1.337 GB, free: 17.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.406, allocations: 1.112 MB / 1.338 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006286/1.406, allocations: 388 kB / 1.338 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/1.407, allocations: 420.6 kB / 1.339 GB, free: 16.85 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/1.407, allocations: 40.91 kB / 1.339 GB, free: 16.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 2.585e-06/1.407, allocations: 0 / 1.339 GB, free: 16.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.002044/1.409, allocations: 0.987 MB / 1.34 GB, free: 16.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/1.409, allocations: 61.12 kB / 1.34 GB, free: 16.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/1.41, allocations: 0.8387 MB / 1.341 GB, free: 16.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-05/1.41, allocations: 41 kB / 1.341 GB, free: 16.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/1.411, allocations: 483.1 kB / 1.341 GB, free: 16.28 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/1.411, allocations: 212 kB / 1.341 GB, free: 16.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/1.411, allocations: 50.53 kB / 1.341 GB, free: 16.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.411, allocations: 326.6 kB / 1.342 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/1.412, allocations: 263.3 kB / 1.342 GB, free: 15.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/1.412, allocations: 380.5 kB / 1.342 GB, free: 15.72 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/1.413, allocations: 0.6089 MB / 1.343 GB, free: 15.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.413, allocations: 0 / 1.343 GB, free: 15.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001336/1.414, allocations: 0.7604 MB / 1.344 GB, free: 15.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/1.415, allocations: 116.9 kB / 1.344 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.415, allocations: 0 / 1.344 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.415, allocations: 11.06 kB / 1.344 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/1.415, allocations: 133.3 kB / 1.344 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/1.415, allocations: 4.047 kB / 1.344 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.416, allocations: 133.3 kB / 1.344 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/1.416, allocations: 29.55 kB / 1.344 GB, free: 15.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/1.416, allocations: 2.219 kB / 1.344 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/1.418, allocations: 0.6282 MB / 1.345 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/1.418, allocations: 4.594 kB / 1.345 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.772e-06/1.418, allocations: 4.969 kB / 1.345 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/1.418, allocations: 130.6 kB / 1.345 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.418, allocations: 3.453 kB / 1.345 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/1.419, allocations: 137.5 kB / 1.345 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/1.419, allocations: 19.67 kB / 1.345 GB, free: 15.34 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.0006965/1.42, allocations: 389 kB / 1.345 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/1.42, allocations: 103.9 kB / 1.346 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/1.422, allocations: 0.7682 MB / 1.346 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.422, allocations: 5.094 kB / 1.346 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.422, allocations: 2.938 kB / 1.346 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/1.423, allocations: 0.9244 MB / 1.347 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/1.426, allocations: 2.267 MB / 1.349 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.426, allocations: 2.125 kB / 1.349 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006643/1.427, allocations: 140.9 kB / 1.35 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/1.427, allocations: 5.844 kB / 1.35 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/1.427, allocations: 17.08 kB / 1.35 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/1.427, allocations: 13.72 kB / 1.35 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.427, allocations: 7.156 kB / 1.35 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/1.429, allocations: 1.261 MB / 1.351 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/1.43, allocations: 265.4 kB / 1.351 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/1.43, allocations: 14.97 kB / 1.351 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/1.431, allocations: 95.53 kB / 1.351 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.431, allocations: 50.61 kB / 1.351 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/1.431, allocations: 23.25 kB / 1.351 GB, free: 13.01 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009023/1.432, allocations: 0.5861 MB / 1.352 GB, free: 12.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.21e-07/1.432, allocations: 4 kB / 1.352 GB, free: 12.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001419/1.433, allocations: 0.5337 MB / 1.352 GB, free: 12.65 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.0005524/1.434, allocations: 240.5 kB / 1.353 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001789/1.436, allocations: 0.9721 MB / 1.354 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/1.436, allocations: 2.094 kB / 1.354 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005514/1.436, allocations: 354.7 kB / 1.354 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/1.44, allocations: 0.6183 MB / 1.354 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/1.443, allocations: 2.667 MB / 1.357 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/1.444, allocations: 1.128 MB / 1.358 GB, free: 9.512 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001159/1.445, allocations: 297.2 kB / 1.358 GB, free: 9.449 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/1.445, allocations: 80.58 kB / 1.359 GB, free: 9.438 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.445, allocations: 0 / 1.359 GB, free: 9.438 MB / 1.014 GB Notification: Performance of Templates: time 0.03344/1.478, allocations: 19.67 MB / 1.378 GB, free: 452 kB / 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)