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.001157/0.001157, allocations: 114.4 kB / 17.04 MB, free: 6.074 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.001072/0.001073, allocations: 195 kB / 17.98 MB, free: 5.16 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.295/1.295, allocations: 222.9 MB / 241.7 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6938/0.6939, allocations: 115.1 MB / 406.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 59.91 kB / 494.8 MB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3364, allocations: 76.14 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5306/0.867, allocations: 239.8 MB / 0.7918 GB, free: 19.47 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.8781, allocations: 7.193 MB / 0.7988 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.8803, allocations: 55.09 kB / 0.7989 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.882, allocations: 0.6985 MB / 0.7995 GB, free: 19.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005005/0.887, allocations: 2.079 MB / 0.8016 GB, free: 19.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.8919, allocations: 2.03 MB / 0.8036 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004906/0.8969, allocations: 3.27 MB / 0.8068 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.8987, allocations: 1.143 MB / 0.8079 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004035/0.9028, allocations: 1.785 MB / 0.8096 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.9049, allocations: 0.9681 MB / 0.8106 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.9051, allocations: 123 kB / 0.8107 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004973/0.9101, allocations: 2.485 MB / 0.8131 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007094/0.9108, allocations: 473.3 kB / 0.8136 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.9119, allocations: 0.7131 MB / 0.8143 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.9164, allocations: 2.69 MB / 0.8169 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9164, allocations: 0 / 0.8169 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9164, allocations: 0 / 0.8169 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.9164, allocations: 4.281 kB / 0.8169 GB, free: 18.36 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.002452/0.9189, allocations: 1.703 MB / 0.8185 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.9189, allocations: 9.719 kB / 0.8186 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.9214, allocations: 427 kB / 0.819 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.923, allocations: 1.019 MB / 0.82 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.9231, allocations: 61.16 kB / 0.82 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.9232, allocations: 84.19 kB / 0.8201 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.9245, allocations: 0.8689 MB / 0.8209 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.9246, allocations: 2.469 kB / 0.8209 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.9246, allocations: 29.47 kB / 0.821 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.9247, allocations: 33.09 kB / 0.821 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.9259, allocations: 0.8083 MB / 0.8218 GB, free: 16.45 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.004946/0.9309, allocations: 3.644 MB / 0.8254 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.9326, allocations: 1.103 MB / 0.8264 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.9332, allocations: 375.2 kB / 0.8268 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/0.934, allocations: 403 kB / 0.8272 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.934, allocations: 43.84 kB / 0.8272 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.825e-06/0.934, allocations: 2.625 kB / 0.8272 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002256/0.9363, allocations: 0.9572 MB / 0.8282 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.9363, allocations: 61.61 kB / 0.8282 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.9374, allocations: 0.8358 MB / 0.829 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.9375, allocations: 39.11 kB / 0.8291 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.9378, allocations: 484.3 kB / 0.8295 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.9379, allocations: 214.3 kB / 0.8297 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.9381, allocations: 117.1 kB / 0.8298 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.9382, allocations: 322.7 kB / 0.8302 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.9386, allocations: 258.2 kB / 0.8304 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.939, allocations: 368.2 kB / 0.8307 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/0.9399, allocations: 0.5911 MB / 0.8313 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9399, allocations: 0 / 0.8313 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001211/0.9411, allocations: 0.7365 MB / 0.832 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9412, allocations: 11.47 kB / 0.8321 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.9412, allocations: 3.938 kB / 0.8321 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.9412, allocations: 3 kB / 0.8321 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.9417, allocations: 126.2 kB / 0.8322 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.9418, allocations: 2.844 kB / 0.8322 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.9424, allocations: 76.11 kB / 0.8323 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.9425, allocations: 23.92 kB / 0.8323 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006852/0.9432, allocations: 497.7 kB / 0.8328 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004434/0.9436, allocations: 363.7 kB / 0.8331 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008179/0.9445, allocations: 0.5745 MB / 0.8337 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.9445, allocations: 0 / 0.8337 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001082/0.9456, allocations: 0.724 MB / 0.8344 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9456, allocations: 4.5 kB / 0.8344 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9456, allocations: 7.719 kB / 0.8344 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.393e-06/0.9456, allocations: 7.094 kB / 0.8344 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.9461, allocations: 122.4 kB / 0.8345 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.9461, allocations: 10.69 kB / 0.8345 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.9468, allocations: 61.72 kB / 0.8346 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.9469, allocations: 24.42 kB / 0.8346 GB, free: 8.461 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.0001601/0.947, allocations: 215.9 kB / 0.8348 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.9472, allocations: 103.8 kB / 0.8349 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.9484, allocations: 0.7465 MB / 0.8356 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9484, allocations: 5.25 kB / 0.8356 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9484, allocations: 3.25 kB / 0.8356 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009272/0.9493, allocations: 0.904 MB / 0.8365 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.952, allocations: 2.241 MB / 0.8387 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.952, allocations: 4 kB / 0.8387 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.9526, allocations: 135.6 kB / 0.8388 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.9526, allocations: 7.938 kB / 0.8389 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.9527, allocations: 27.92 kB / 0.8389 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.9527, allocations: 4 kB / 0.8389 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9527, allocations: 10.92 kB / 0.8389 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.9542, allocations: 1.235 MB / 0.8401 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.9545, allocations: 251.8 kB / 0.8403 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.9547, allocations: 23.92 kB / 0.8404 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.9553, allocations: 46.14 kB / 0.8404 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.9554, allocations: 46.92 kB / 0.8405 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.9554, allocations: 27.92 kB / 0.8405 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006024/0.956, allocations: 0.5823 MB / 0.841 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.956, allocations: 0 / 0.841 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001131/0.9572, allocations: 0.5299 MB / 0.8416 GB, free: 1.691 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.0004632/0.9577, allocations: 245.1 kB / 0.8418 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.9591, allocations: 0.9501 MB / 0.8427 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9591, allocations: 0 / 0.8427 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.9596, allocations: 340.4 kB / 0.8431 GB, free: 232 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.9618, allocations: 0.6012 MB / 0.8436 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.965, allocations: 2.127 MB / 0.8457 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.9657, allocations: 1.128 MB / 0.8468 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001026/0.9668, allocations: 296.1 kB / 0.8471 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.967, allocations: 83.44 kB / 0.8472 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.967, allocations: 0 / 0.8472 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.03407/1.001, allocations: 20.36 MB / 0.8671 GB, free: 7.977 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)