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.001064/0.001064, allocations: 107.8 kB / 16.41 MB, free: 6.48 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.001144/0.001144, allocations: 193.8 kB / 17.34 MB, free: 5.762 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.686/0.686, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 62.11 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 76.19 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5857/0.7171, allocations: 239.8 MB / 0.8663 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.7286, allocations: 7.224 MB / 0.8733 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.7303, allocations: 51.69 kB / 0.8734 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.7324, allocations: 0.7027 MB / 0.8741 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004911/0.7373, allocations: 2.063 MB / 0.8761 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004361/0.7417, allocations: 2.033 MB / 0.8781 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.7456, allocations: 3.277 MB / 0.8813 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.747, allocations: 1.133 MB / 0.8824 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.7504, allocations: 1.814 MB / 0.8842 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.752, allocations: 0.9695 MB / 0.8851 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.7523, allocations: 124 kB / 0.8852 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004326/0.7566, allocations: 2.49 MB / 0.8877 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.757, allocations: 458.7 kB / 0.8881 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008073/0.7579, allocations: 0.7194 MB / 0.8888 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.7618, allocations: 2.676 MB / 0.8914 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7618, allocations: 0 / 0.8914 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7618, allocations: 0 / 0.8914 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.7618, allocations: 0 / 0.8914 GB, free: 2.809 MB / 0.6387 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.002533/0.7644, allocations: 1.713 MB / 0.8931 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.7644, allocations: 16.03 kB / 0.8931 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/0.767, allocations: 421.9 kB / 0.8935 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.7686, allocations: 1.022 MB / 0.8945 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.7686, allocations: 62 kB / 0.8946 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.7688, allocations: 87.91 kB / 0.8946 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.7703, allocations: 0.8662 MB / 0.8955 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.7703, allocations: 0 / 0.8955 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.7704, allocations: 39.94 kB / 0.8955 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.7704, allocations: 29.98 kB / 0.8955 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.7718, allocations: 0.8081 MB / 0.8963 GB, free: 13.65 MB / 0.6544 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.004353/0.7761, allocations: 3.639 MB / 0.8999 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.7776, allocations: 1.092 MB / 0.901 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.7781, allocations: 370.9 kB / 0.9013 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.7788, allocations: 404.8 kB / 0.9017 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.7788, allocations: 47.11 kB / 0.9017 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/0.7788, allocations: 0 / 0.9017 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002015/0.7809, allocations: 0.9506 MB / 0.9027 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.7809, allocations: 59.95 kB / 0.9027 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009461/0.7819, allocations: 0.84 MB / 0.9035 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.782, allocations: 37.7 kB / 0.9036 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.7823, allocations: 488 kB / 0.9041 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.7825, allocations: 220.8 kB / 0.9043 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.7826, allocations: 110.2 kB / 0.9044 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7827, allocations: 326 kB / 0.9047 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.7832, allocations: 259 kB / 0.9049 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.7838, allocations: 367.4 kB / 0.9053 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.7847, allocations: 0.5891 MB / 0.9058 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7847, allocations: 0 / 0.9058 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001255/0.786, allocations: 0.7398 MB / 0.9066 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.786, allocations: 4 kB / 0.9066 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.786, allocations: 0 / 0.9066 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.7861, allocations: 7.984 kB / 0.9066 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.7866, allocations: 123.9 kB / 0.9067 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.7866, allocations: 8.062 kB / 0.9067 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.7873, allocations: 79.39 kB / 0.9068 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.7874, allocations: 23.98 kB / 0.9068 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007223/0.7881, allocations: 497 kB / 0.9073 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005095/0.7886, allocations: 359.5 kB / 0.9076 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009177/0.7896, allocations: 0.5774 MB / 0.9082 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.7896, allocations: 0 / 0.9082 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001131/0.7907, allocations: 0.7243 MB / 0.9089 GB, free: 108 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.7907, allocations: 7.938 kB / 0.9089 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.7907, allocations: 0 / 0.9089 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.84e-06/0.7907, allocations: 4 kB / 0.9089 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.7913, allocations: 127.8 kB / 0.909 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.7913, allocations: 4 kB / 0.909 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/0.792, allocations: 63.56 kB / 0.9091 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.792, allocations: 31.08 kB / 0.9091 GB, free: 15.88 MB / 0.67 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.0001704/0.7922, allocations: 212.1 kB / 0.9093 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.7923, allocations: 110.7 kB / 0.9094 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.7937, allocations: 0.737 MB / 0.9102 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.7937, allocations: 4 kB / 0.9102 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7937, allocations: 4 kB / 0.9102 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/0.7948, allocations: 0.9033 MB / 0.911 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.7978, allocations: 2.236 MB / 0.9132 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.7978, allocations: 11.92 kB / 0.9132 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.7984, allocations: 131.8 kB / 0.9134 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.7984, allocations: 11.98 kB / 0.9134 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.7985, allocations: 16.41 kB / 0.9134 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.7985, allocations: 8 kB / 0.9134 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7985, allocations: 8 kB / 0.9134 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.8002, allocations: 1.234 MB / 0.9146 GB, free: 9.961 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.8006, allocations: 263.7 kB / 0.9149 GB, free: 9.684 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.8007, allocations: 16 kB / 0.9149 GB, free: 9.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/0.8013, allocations: 39.95 kB / 0.9149 GB, free: 9.629 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.8014, allocations: 48.33 kB / 0.915 GB, free: 9.582 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.8015, allocations: 23.98 kB / 0.915 GB, free: 9.559 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006822/0.8022, allocations: 0.5862 MB / 0.9156 GB, free: 8.961 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8022, allocations: 0 / 0.9156 GB, free: 8.961 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001087/0.8033, allocations: 0.5299 MB / 0.9161 GB, free: 8.43 MB / 0.67 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.0004543/0.8037, allocations: 243.6 kB / 0.9163 GB, free: 8.191 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.8054, allocations: 0.9468 MB / 0.9172 GB, free: 7.246 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8054, allocations: 0 / 0.9172 GB, free: 7.246 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.8059, allocations: 343.2 kB / 0.9176 GB, free: 6.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.8083, allocations: 0.6023 MB / 0.9181 GB, free: 6.32 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.8111, allocations: 2.132 MB / 0.9202 GB, free: 4.117 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.8117, allocations: 1.131 MB / 0.9213 GB, free: 2.957 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008403/0.8126, allocations: 300.1 kB / 0.9216 GB, free: 2.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.8128, allocations: 79.44 kB / 0.9217 GB, free: 2.582 MB / 0.67 GB Notification: Performance of SimCode: time 5.72e-07/0.8128, allocations: 0 / 0.9217 GB, free: 2.582 MB / 0.67 GB Notification: Performance of Templates: time 0.03012/0.8429, allocations: 20.5 MB / 0.9417 GB, free: 14.37 MB / 0.7012 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)