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.001507/0.001507, allocations: 118.2 kB / 17.08 MB, free: 5.969 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.001708/0.001708, allocations: 198.9 kB / 18.02 MB, free: 5.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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7654/0.7654, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.23 kB / 0.5583 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1415, allocations: 76.18 MB / 0.6327 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5819/0.7235, allocations: 239.8 MB / 0.8669 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.7353, allocations: 7.23 MB / 0.874 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.7374, allocations: 51.69 kB / 0.874 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.7396, allocations: 0.6949 MB / 0.8747 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005841/0.7455, allocations: 2.067 MB / 0.8767 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.7507, allocations: 2.03 MB / 0.8787 GB, free: 396 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004891/0.7556, allocations: 3.284 MB / 0.8819 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.7577, allocations: 1.134 MB / 0.883 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/0.7621, allocations: 1.817 MB / 0.8848 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.7645, allocations: 0.968 MB / 0.8858 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004642/0.765, allocations: 124 kB / 0.8859 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005073/0.7701, allocations: 2.486 MB / 0.8883 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007545/0.7709, allocations: 462.7 kB / 0.8888 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.7724, allocations: 0.7233 MB / 0.8895 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005463/0.7779, allocations: 2.676 MB / 0.8921 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7779, allocations: 0 / 0.8921 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7779, allocations: 3.938 kB / 0.8921 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.628e-05/0.778, allocations: 0 / 0.8921 GB, free: 2.664 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.003709/0.7817, allocations: 1.713 MB / 0.8937 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.7818, allocations: 12.03 kB / 0.8938 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/0.7847, allocations: 418 kB / 0.8942 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.7869, allocations: 1.026 MB / 0.8952 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.7869, allocations: 63.12 kB / 0.8952 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.7872, allocations: 87.91 kB / 0.8953 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.789, allocations: 0.8663 MB / 0.8962 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.7891, allocations: 0 / 0.8962 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/0.7892, allocations: 32 kB / 0.8962 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.7892, allocations: 26 kB / 0.8962 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.7909, allocations: 0.8119 MB / 0.897 GB, free: 13.52 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.005339/0.7962, allocations: 3.639 MB / 0.9006 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.7978, allocations: 1.09 MB / 0.9016 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006071/0.7984, allocations: 369.2 kB / 0.902 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006963/0.7991, allocations: 412.8 kB / 0.9024 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.7992, allocations: 39.69 kB / 0.9024 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/0.7992, allocations: 4 kB / 0.9024 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002242/0.8015, allocations: 0.9507 MB / 0.9033 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.8015, allocations: 63.91 kB / 0.9034 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.8028, allocations: 0.8322 MB / 0.9042 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.054e-05/0.8029, allocations: 45.69 kB / 0.9042 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.8033, allocations: 480 kB / 0.9047 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.8035, allocations: 216.8 kB / 0.9049 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.8037, allocations: 114.2 kB / 0.905 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8038, allocations: 330 kB / 0.9053 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.8044, allocations: 251 kB / 0.9056 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.805, allocations: 375.4 kB / 0.9059 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.806, allocations: 0.5852 MB / 0.9065 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.806, allocations: 0 / 0.9065 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001434/0.8075, allocations: 0.7437 MB / 0.9072 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8075, allocations: 4 kB / 0.9072 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8075, allocations: 0 / 0.9072 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.8075, allocations: 4 kB / 0.9072 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.8081, allocations: 131.8 kB / 0.9074 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.8082, allocations: 4 kB / 0.9074 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.809, allocations: 79.38 kB / 0.9074 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.8091, allocations: 24.06 kB / 0.9075 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008724/0.81, allocations: 493.7 kB / 0.9079 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005653/0.8106, allocations: 367.4 kB / 0.9083 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001006/0.8116, allocations: 0.5813 MB / 0.9089 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.8116, allocations: 0 / 0.9089 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001438/0.813, allocations: 0.7165 MB / 0.9096 GB, free: 15.97 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.8131, allocations: 9.5 kB / 0.9096 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.8131, allocations: 0 / 0.9096 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.8131, allocations: 4 kB / 0.9096 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.8137, allocations: 127.9 kB / 0.9097 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.8137, allocations: 5.25 kB / 0.9097 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.8145, allocations: 67.55 kB / 0.9098 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.8146, allocations: 20 kB / 0.9098 GB, free: 15.74 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.0002068/0.8148, allocations: 212.1 kB / 0.91 GB, free: 15.53 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.8151, allocations: 106.7 kB / 0.9101 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.8166, allocations: 0.7447 MB / 0.9108 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-06/0.8166, allocations: 4 kB / 0.9108 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8166, allocations: 4 kB / 0.9108 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/0.8178, allocations: 0.9073 MB / 0.9117 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.8215, allocations: 2.24 MB / 0.9139 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.8216, allocations: 7.938 kB / 0.9139 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006679/0.8222, allocations: 135.8 kB / 0.914 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.8223, allocations: 4 kB / 0.914 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.8223, allocations: 20 kB / 0.9141 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.8223, allocations: 11.92 kB / 0.9141 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.8223, allocations: 4 kB / 0.9141 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.8244, allocations: 1.226 MB / 0.9153 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.8249, allocations: 267.7 kB / 0.9155 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.8251, allocations: 16 kB / 0.9155 GB, free: 9.531 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.8258, allocations: 39.95 kB / 0.9156 GB, free: 9.492 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.826, allocations: 52.25 kB / 0.9156 GB, free: 9.441 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.826, allocations: 24.19 kB / 0.9156 GB, free: 9.418 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009246/0.827, allocations: 0.5862 MB / 0.9162 GB, free: 8.82 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.827, allocations: 3.938 kB / 0.9162 GB, free: 8.816 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001508/0.8285, allocations: 0.5338 MB / 0.9167 GB, free: 8.281 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.0005718/0.8291, allocations: 236.1 kB / 0.917 GB, free: 8.047 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001913/0.831, allocations: 0.9431 MB / 0.9179 GB, free: 7.105 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.831, allocations: 4.062 kB / 0.9179 GB, free: 7.102 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.8316, allocations: 334.2 kB / 0.9182 GB, free: 6.773 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/0.8346, allocations: 0.6122 MB / 0.9188 GB, free: 6.176 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.8383, allocations: 2.193 MB / 0.921 GB, free: 3.906 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.8391, allocations: 1.127 MB / 0.9221 GB, free: 2.75 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.8394, allocations: 87.42 kB / 0.9221 GB, free: 2.664 MB / 0.67 GB Notification: Performance of SimCode: time 6.91e-07/0.8394, allocations: 0 / 0.9221 GB, free: 2.664 MB / 0.67 GB Notification: Performance of Templates: time 0.02579/0.8652, allocations: 17.15 MB / 0.9389 GB, free: 1.664 MB / 0.6856 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)