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.0009513/0.0009513, allocations: 93.81 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.001529, allocations: 182.4 kB / 16.92 MB, free: 6.914 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6958/0.6958, allocations: 115.4 MB / 407.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 8 kB / 495.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1981, allocations: 77.51 MB / 0.5598 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6533/0.8514, allocations: 234.5 MB / 0.7888 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.864, allocations: 7.22 MB / 0.7959 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.8657, allocations: 51.62 kB / 0.7959 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.8677, allocations: 0.5751 MB / 0.7965 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005597/0.8733, allocations: 1.961 MB / 0.7984 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004877/0.8782, allocations: 1.863 MB / 0.8002 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00516/0.8833, allocations: 4.431 MB / 0.8045 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.885, allocations: 0.9185 MB / 0.8054 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.8887, allocations: 1.556 MB / 0.807 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.8909, allocations: 0.9547 MB / 0.8079 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.8911, allocations: 52 kB / 0.8079 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005121/0.8962, allocations: 2.825 MB / 0.8107 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006149/0.8969, allocations: 386.7 kB / 0.8111 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.8983, allocations: 0.6585 MB / 0.8117 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005724/0.904, allocations: 2.738 MB / 0.8144 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.904, allocations: 0 / 0.8144 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.396e-06/0.904, allocations: 4 kB / 0.8144 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.594e-05/0.9041, allocations: 0 / 0.8144 GB, free: 2.016 MB / 0.6231 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.003389/0.9075, allocations: 1.474 MB / 0.8158 GB, free: 500 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/0.9076, allocations: 8.031 kB / 0.8158 GB, free: 492 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/0.9108, allocations: 429.9 kB / 0.8162 GB, free: 60 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.9128, allocations: 0.9599 MB / 0.8172 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.9129, allocations: 66 kB / 0.8172 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.913, allocations: 83.91 kB / 0.8173 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.9148, allocations: 0.878 MB / 0.8182 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.9148, allocations: 0 / 0.8182 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.915, allocations: 28 kB / 0.8182 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/0.915, allocations: 34 kB / 0.8182 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.9166, allocations: 0.8276 MB / 0.819 GB, free: 13.14 MB / 0.6387 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.005333/0.922, allocations: 3.647 MB / 0.8226 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.9235, allocations: 1.112 MB / 0.8237 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.9242, allocations: 380.2 kB / 0.8241 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/0.9249, allocations: 424.8 kB / 0.8245 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.925, allocations: 39.12 kB / 0.8245 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/0.925, allocations: 3.938 kB / 0.8245 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002262/0.9272, allocations: 0.9936 MB / 0.8255 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.9273, allocations: 55.97 kB / 0.8255 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.9284, allocations: 0.84 MB / 0.8263 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/0.9285, allocations: 37.7 kB / 0.8264 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.9289, allocations: 488.1 kB / 0.8268 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.9291, allocations: 208.9 kB / 0.827 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.9292, allocations: 49.69 kB / 0.8271 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9294, allocations: 334 kB / 0.8274 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.9299, allocations: 257 kB / 0.8277 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.9305, allocations: 379.4 kB / 0.828 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.9316, allocations: 0.6087 MB / 0.8286 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9316, allocations: 0 / 0.8286 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001398/0.933, allocations: 0.7593 MB / 0.8294 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.141e-05/0.9331, allocations: 118.7 kB / 0.8295 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9331, allocations: 4.078 kB / 0.8295 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9331, allocations: 8 kB / 0.8295 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.9338, allocations: 131.8 kB / 0.8296 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.9338, allocations: 4 kB / 0.8296 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.9348, allocations: 135.4 kB / 0.8297 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.9349, allocations: 24 kB / 0.8298 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.9349, allocations: 6.188 kB / 0.8298 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/0.9361, allocations: 0.6301 MB / 0.8304 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-06/0.9361, allocations: 0 / 0.8304 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.064e-06/0.9361, allocations: 7.938 kB / 0.8304 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.9367, allocations: 131.8 kB / 0.8305 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.9367, allocations: 7.938 kB / 0.8305 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009481/0.9376, allocations: 139.3 kB / 0.8307 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.9377, allocations: 20 kB / 0.8307 GB, free: 0.5938 MB / 0.6387 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.0005326/0.9382, allocations: 384.9 kB / 0.831 GB, free: 212 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.9384, allocations: 102.7 kB / 0.8311 GB, free: 108 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3716/1.31, allocations: 0.7532 MB / 0.8319 GB, free: 234.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.31, allocations: 7 kB / 0.8319 GB, free: 234.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.31, allocations: 5.516 kB / 0.8319 GB, free: 234.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/1.311, allocations: 0.9203 MB / 0.8328 GB, free: 234.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/1.316, allocations: 2.27 MB / 0.835 GB, free: 233.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/1.316, allocations: 3.125 kB / 0.835 GB, free: 233.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/1.316, allocations: 141.5 kB / 0.8351 GB, free: 233.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/1.316, allocations: 12.2 kB / 0.8352 GB, free: 233.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/1.316, allocations: 18.2 kB / 0.8352 GB, free: 233.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/1.316, allocations: 6.047 kB / 0.8352 GB, free: 233.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.316, allocations: 7.766 kB / 0.8352 GB, free: 233.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/1.319, allocations: 1.262 MB / 0.8364 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/1.319, allocations: 257.8 kB / 0.8367 GB, free: 233 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.319, allocations: 20.3 kB / 0.8367 GB, free: 233 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008413/1.32, allocations: 106.4 kB / 0.8368 GB, free: 233 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.32, allocations: 47.3 kB / 0.8368 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/1.32, allocations: 23.27 kB / 0.8368 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009113/1.321, allocations: 0.5859 MB / 0.8374 GB, free: 232.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/1.321, allocations: 2.75 kB / 0.8374 GB, free: 232.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001427/1.323, allocations: 0.5295 MB / 0.8379 GB, free: 232.6 MB / 0.6387 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.0005117/1.323, allocations: 243 kB / 0.8382 GB, free: 232.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001937/1.325, allocations: 0.9708 MB / 0.8391 GB, free: 232.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.325, allocations: 5.969 kB / 0.8391 GB, free: 232.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007022/1.326, allocations: 358 kB / 0.8395 GB, free: 232.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/1.329, allocations: 0.6131 MB / 0.8401 GB, free: 232 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/1.333, allocations: 2.667 MB / 0.8427 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/1.334, allocations: 1.12 MB / 0.8438 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001365/1.335, allocations: 301.9 kB / 0.8441 GB, free: 229.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/1.336, allocations: 80.17 kB / 0.8441 GB, free: 229.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.312e-06/1.336, allocations: 1.188 kB / 0.8441 GB, free: 229.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.04473/1.38, allocations: 19.66 MB / 0.8633 GB, free: 222.5 MB / 0.6387 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)