Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001025/0.001025, allocations: 89.17 kB / 16.67 MB, free: 6.594 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.001063/0.001063, allocations: 183.3 kB / 17.58 MB, free: 6.188 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.392/1.392, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7751/0.7751, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003866, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3782, allocations: 77.52 MB / 0.5606 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.577/0.9553, allocations: 234.5 MB / 0.7896 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.9669, allocations: 7.23 MB / 0.7967 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.9689, allocations: 45.03 kB / 0.7967 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.9709, allocations: 0.5779 MB / 0.7973 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005654/0.9766, allocations: 1.951 MB / 0.7992 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004995/0.9816, allocations: 1.876 MB / 0.801 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005053/0.9867, allocations: 4.42 MB / 0.8053 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.9883, allocations: 0.9167 MB / 0.8062 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.9921, allocations: 1.563 MB / 0.8077 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.9943, allocations: 0.9565 MB / 0.8087 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003505/0.9947, allocations: 47.22 kB / 0.8087 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005395/1, allocations: 2.832 MB / 0.8115 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008626/1.001, allocations: 383.7 kB / 0.8119 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002543/1.004, allocations: 0.6533 MB / 0.8125 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003758/1.007, allocations: 1.943 MB / 0.8144 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.007, allocations: 5.922 kB / 0.8144 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.736e-06/1.007, allocations: 0 / 0.8144 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.128e-05/1.007, allocations: 1.859 kB / 0.8144 GB, free: 16.98 MB / 0.5919 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.002479/1.01, allocations: 1.469 MB / 0.8158 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.01, allocations: 12.34 kB / 0.8158 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/1.012, allocations: 426.2 kB / 0.8163 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/1.014, allocations: 0.9627 MB / 0.8172 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/1.014, allocations: 65.53 kB / 0.8173 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/1.014, allocations: 84.97 kB / 0.8173 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.016, allocations: 0.875 MB / 0.8182 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/1.016, allocations: 3.938 kB / 0.8182 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/1.016, allocations: 32.94 kB / 0.8182 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/1.016, allocations: 30.14 kB / 0.8183 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.017, allocations: 0.831 MB / 0.8191 GB, free: 15.2 MB / 0.5919 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.004764/1.022, allocations: 3.647 MB / 0.8226 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/1.024, allocations: 1.112 MB / 0.8237 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/1.024, allocations: 377.5 kB / 0.8241 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006801/1.025, allocations: 420 kB / 0.8245 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.025, allocations: 49.69 kB / 0.8245 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.505e-06/1.025, allocations: 0 / 0.8245 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002049/1.027, allocations: 0.9858 MB / 0.8255 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/1.027, allocations: 70.28 kB / 0.8256 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/1.028, allocations: 0.8291 MB / 0.8264 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/1.028, allocations: 41.45 kB / 0.8264 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/1.029, allocations: 483 kB / 0.8269 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/1.029, allocations: 212.3 kB / 0.8271 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/1.029, allocations: 52.53 kB / 0.8271 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.029, allocations: 328.9 kB / 0.8274 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/1.029, allocations: 257 kB / 0.8277 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/1.03, allocations: 388.2 kB / 0.828 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.031, allocations: 0.6052 MB / 0.8286 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/1.031, allocations: 0 / 0.8286 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001432/1.033, allocations: 0.7545 MB / 0.8294 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.392e-05/1.033, allocations: 128.2 kB / 0.8295 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/1.033, allocations: 6.109 kB / 0.8295 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.033, allocations: 2.594 kB / 0.8295 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/1.033, allocations: 131.4 kB / 0.8296 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.033, allocations: 2.656 kB / 0.8296 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009948/1.034, allocations: 139.2 kB / 0.8298 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/1.034, allocations: 17.59 kB / 0.8298 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/1.034, allocations: 6.156 kB / 0.8298 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001058/1.035, allocations: 0.63 MB / 0.8304 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/1.035, allocations: 2.594 kB / 0.8304 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/1.035, allocations: 6.203 kB / 0.8304 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/1.036, allocations: 131.5 kB / 0.8305 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.036, allocations: 5.203 kB / 0.8305 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008996/1.037, allocations: 135.2 kB / 0.8307 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/1.037, allocations: 22.28 kB / 0.8307 GB, free: 9.602 MB / 0.5919 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.000541/1.037, allocations: 387.7 kB / 0.8311 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/1.038, allocations: 99.69 kB / 0.8312 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/1.039, allocations: 0.7637 MB / 0.8319 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.039, allocations: 8.531 kB / 0.8319 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.039, allocations: 0 / 0.8319 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/1.04, allocations: 0.9282 MB / 0.8328 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/1.043, allocations: 2.272 MB / 0.835 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/1.043, allocations: 2.938 kB / 0.835 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/1.044, allocations: 141.7 kB / 0.8352 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/1.044, allocations: 3.688 kB / 0.8352 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/1.044, allocations: 22.31 kB / 0.8352 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.044, allocations: 10.95 kB / 0.8352 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.044, allocations: 7.281 kB / 0.8352 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/1.046, allocations: 1.257 MB / 0.8364 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/1.046, allocations: 268.8 kB / 0.8367 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.047, allocations: 15.53 kB / 0.8367 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008127/1.047, allocations: 96.86 kB / 0.8368 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.048, allocations: 46.86 kB / 0.8368 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/1.048, allocations: 28.61 kB / 0.8369 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007372/1.048, allocations: 0.5854 MB / 0.8374 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.048, allocations: 0 / 0.8374 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001304/1.05, allocations: 0.534 MB / 0.838 GB, free: 6.578 MB / 0.5919 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.0005214/1.05, allocations: 249.5 kB / 0.8382 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.052, allocations: 0.9667 MB / 0.8392 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.052, allocations: 320 / 0.8392 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005343/1.052, allocations: 357.2 kB / 0.8395 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/1.056, allocations: 0.6327 MB / 0.8401 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/1.059, allocations: 2.728 MB / 0.8428 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/1.06, allocations: 1.122 MB / 0.8439 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/1.06, allocations: 89.67 kB / 0.844 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of SimCode: time 6.12e-07/1.06, allocations: 0 / 0.844 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of Templates: time 0.02784/1.088, allocations: 17.01 MB / 0.8606 GB, free: 3.434 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)