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.001118/0.001118, allocations: 110.2 kB / 16.52 MB, free: 6.664 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.001183/0.001183, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7174/0.7174, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.89 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3504, allocations: 76.17 MB / 0.5564 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5594/0.9098, allocations: 237.7 MB / 0.7885 GB, free: 19.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.9208, allocations: 7.293 MB / 0.7956 GB, free: 19.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.9232, allocations: 44.94 kB / 0.7957 GB, free: 19.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.9253, allocations: 0.5797 MB / 0.7962 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005405/0.9308, allocations: 1.958 MB / 0.7982 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004952/0.9357, allocations: 1.855 MB / 0.8 GB, free: 19.13 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005219/0.941, allocations: 4.436 MB / 0.8043 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.9424, allocations: 0.9396 MB / 0.8052 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/0.9461, allocations: 1.6 MB / 0.8068 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.9481, allocations: 0.9952 MB / 0.8077 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.9483, allocations: 61.31 kB / 0.8078 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005122/0.9534, allocations: 2.839 MB / 0.8106 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006366/0.9541, allocations: 408.9 kB / 0.811 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.9551, allocations: 0.6575 MB / 0.8116 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.9581, allocations: 1.97 MB / 0.8135 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.9582, allocations: 0 / 0.8135 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9582, allocations: 2.531 kB / 0.8135 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.545e-05/0.9582, allocations: 3.938 kB / 0.8135 GB, free: 18.37 MB / 0.5762 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.002895/0.9611, allocations: 1.702 MB / 0.8152 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.9611, allocations: 19.34 kB / 0.8152 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.9638, allocations: 424.5 kB / 0.8156 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.9653, allocations: 0.9573 MB / 0.8166 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.9654, allocations: 66.47 kB / 0.8166 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.9655, allocations: 79.78 kB / 0.8167 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.967, allocations: 0.8714 MB / 0.8176 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.9671, allocations: 0 / 0.8176 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.9672, allocations: 29.12 kB / 0.8176 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.9672, allocations: 29.81 kB / 0.8176 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.9685, allocations: 0.804 MB / 0.8184 GB, free: 16.25 MB / 0.5762 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.004243/0.9728, allocations: 3.634 MB / 0.8219 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.9742, allocations: 1.098 MB / 0.823 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/0.9748, allocations: 369.5 kB / 0.8234 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/0.9755, allocations: 408.8 kB / 0.8238 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.9755, allocations: 43.44 kB / 0.8238 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/0.9755, allocations: 0 / 0.8238 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002/0.9775, allocations: 0.9647 MB / 0.8247 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.9776, allocations: 59.56 kB / 0.8248 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.9786, allocations: 0.8328 MB / 0.8256 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.9787, allocations: 41.14 kB / 0.8256 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.979, allocations: 486.2 kB / 0.8261 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.9791, allocations: 209.7 kB / 0.8263 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.9793, allocations: 116 kB / 0.8264 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.9794, allocations: 327.5 kB / 0.8267 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.9798, allocations: 251.9 kB / 0.827 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.9803, allocations: 367.2 kB / 0.8273 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009037/0.9812, allocations: 0.5899 MB / 0.8279 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.9813, allocations: 3.156 kB / 0.8279 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001194/0.9825, allocations: 0.7329 MB / 0.8286 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.9825, allocations: 6.281 kB / 0.8286 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.9825, allocations: 96 / 0.8286 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9825, allocations: 10.81 kB / 0.8286 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.9831, allocations: 129.2 kB / 0.8288 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9831, allocations: 5.031 kB / 0.8288 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009564/0.9841, allocations: 128.4 kB / 0.8289 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.9841, allocations: 24.33 kB / 0.8289 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008308/0.985, allocations: 0.4891 MB / 0.8294 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004729/0.9855, allocations: 360.1 kB / 0.8297 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008317/0.9863, allocations: 0.5778 MB / 0.8303 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.9863, allocations: 0 / 0.8303 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001124/0.9874, allocations: 0.7219 MB / 0.831 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.9875, allocations: 7.469 kB / 0.831 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.9875, allocations: 3.984 kB / 0.831 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.9875, allocations: 3.25 kB / 0.831 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.988, allocations: 138.1 kB / 0.8311 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.988, allocations: 5.781 kB / 0.8312 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009294/0.9889, allocations: 126 kB / 0.8313 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.989, allocations: 24.16 kB / 0.8313 GB, free: 9.008 MB / 0.5762 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.0001728/0.9892, allocations: 210.6 kB / 0.8315 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.9893, allocations: 99.41 kB / 0.8316 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.9906, allocations: 0.7574 MB / 0.8323 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.9906, allocations: 5.062 kB / 0.8323 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9906, allocations: 0 / 0.8323 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008964/0.9915, allocations: 0.9032 MB / 0.8332 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.9944, allocations: 2.246 MB / 0.8354 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9944, allocations: 0 / 0.8354 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.995, allocations: 136 kB / 0.8355 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.995, allocations: 12 kB / 0.8356 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.9951, allocations: 19.94 kB / 0.8356 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.9951, allocations: 6.531 kB / 0.8356 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9951, allocations: 4 kB / 0.8356 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.9966, allocations: 1.23 MB / 0.8368 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.997, allocations: 259.7 kB / 0.837 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.9971, allocations: 23.94 kB / 0.8371 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.9979, allocations: 91.81 kB / 0.8371 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.998, allocations: 46.81 kB / 0.8372 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.9981, allocations: 27.98 kB / 0.8372 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006482/0.9987, allocations: 0.5862 MB / 0.8378 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9987, allocations: 0 / 0.8378 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001179/0.9999, allocations: 0.5376 MB / 0.8383 GB, free: 1.992 MB / 0.5762 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.0004634/1, allocations: 243 kB / 0.8385 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001471/1.002, allocations: 0.9385 MB / 0.8395 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.002, allocations: 8 kB / 0.8395 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004705/1.002, allocations: 336.4 kB / 0.8398 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/1.005, allocations: 0.6231 MB / 0.8404 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/1.009, allocations: 2.607 MB / 0.8429 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/1.009, allocations: 1.12 MB / 0.844 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/1.01, allocations: 83.44 kB / 0.8441 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of SimCode: time 1.332e-06/1.01, allocations: 4 kB / 0.8441 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of Templates: time 0.02546/1.035, allocations: 17.2 MB / 0.8609 GB, free: 11.02 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)