Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001275/0.001275, allocations: 99.47 kB / 15.05 MB, free: 1.105 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: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9962/0.9962, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.000432, allocations: 8 kB / 0.5158 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2036, allocations: 83.4 MB / 0.5973 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6138/0.8175, allocations: 196.7 MB / 0.7894 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.8309, allocations: 7.257 MB / 0.7965 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.8329, allocations: 43.69 kB / 0.7965 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.8352, allocations: 0.6649 MB / 0.7971 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006349/0.8416, allocations: 1.945 MB / 0.799 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006015/0.8476, allocations: 1.612 MB / 0.8006 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003957/0.8516, allocations: 1.879 MB / 0.8025 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.853, allocations: 0.8381 MB / 0.8033 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.8566, allocations: 1.414 MB / 0.8047 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.8576, allocations: 0.6108 MB / 0.8052 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.8578, allocations: 52 kB / 0.8053 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.8607, allocations: 1.061 MB / 0.8063 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.8611, allocations: 355 kB / 0.8067 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.8614, allocations: 289 kB / 0.8069 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.8634, allocations: 1.703 MB / 0.8086 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.8634, allocations: 0 / 0.8086 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8634, allocations: 0 / 0.8086 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.8634, allocations: 0 / 0.8086 GB, free: 3.793 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.00265/0.8661, allocations: 1.44 MB / 0.81 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.8662, allocations: 8.031 kB / 0.81 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.8688, allocations: 430 kB / 0.8104 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.8704, allocations: 0.9256 MB / 0.8113 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/0.8705, allocations: 66 kB / 0.8114 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.8707, allocations: 84 kB / 0.8115 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.8722, allocations: 0.8624 MB / 0.8123 GB, free: 15.89 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.8722, allocations: 0 / 0.8123 GB, free: 15.89 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.155e-05/0.8723, allocations: 36 kB / 0.8124 GB, free: 15.86 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.8724, allocations: 26 kB / 0.8124 GB, free: 15.83 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.8738, allocations: 0.8198 MB / 0.8132 GB, free: 15.01 MB / 0.6388 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.004553/0.8784, allocations: 3.648 MB / 0.8167 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.88, allocations: 1.131 MB / 0.8179 GB, free: 9.828 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/0.8804, allocations: 149.6 kB / 0.818 GB, free: 9.664 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.8804, allocations: 43.12 kB / 0.818 GB, free: 9.613 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=60): time 3.717e-06/0.8804, allocations: 3.984 kB / 0.818 GB, free: 9.609 MB / 0.6388 GB Notification: Performance of matching and sorting (n=60): time 0.002084/0.8825, allocations: 0.9819 MB / 0.819 GB, free: 8.625 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.8826, allocations: 59.92 kB / 0.8191 GB, free: 8.555 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.8837, allocations: 0.8282 MB / 0.8199 GB, free: 7.703 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/0.8837, allocations: 41.7 kB / 0.8199 GB, free: 7.656 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.8842, allocations: 480.1 kB / 0.8204 GB, free: 7.18 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.8844, allocations: 216.8 kB / 0.8206 GB, free: 6.965 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.8845, allocations: 16 kB / 0.8206 GB, free: 6.949 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8846, allocations: 322 kB / 0.8209 GB, free: 6.629 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.8851, allocations: 257 kB / 0.8211 GB, free: 6.375 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.8857, allocations: 367.5 kB / 0.8215 GB, free: 5.988 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.8862, allocations: 310 kB / 0.8218 GB, free: 5.684 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.8863, allocations: 0 / 0.8218 GB, free: 5.684 MB / 0.6388 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001283/0.8875, allocations: 0.74 MB / 0.8225 GB, free: 4.934 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.8878, allocations: 463.9 kB / 0.8229 GB, free: 4.449 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.8878, allocations: 0 / 0.8229 GB, free: 4.449 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8878, allocations: 7.375 kB / 0.823 GB, free: 4.445 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.8884, allocations: 131.8 kB / 0.8231 GB, free: 4.316 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.8884, allocations: 4 kB / 0.8231 GB, free: 4.312 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/0.8894, allocations: 135.3 kB / 0.8232 GB, free: 4.18 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.8895, allocations: 28 kB / 0.8232 GB, free: 4.152 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-06/0.8895, allocations: 0 / 0.8232 GB, free: 4.152 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/0.8906, allocations: 0.6261 MB / 0.8239 GB, free: 3.523 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8906, allocations: 4 kB / 0.8239 GB, free: 3.52 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.8906, allocations: 4 kB / 0.8239 GB, free: 3.516 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.8912, allocations: 131.8 kB / 0.824 GB, free: 3.387 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.8912, allocations: 4 kB / 0.824 GB, free: 3.383 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.892, allocations: 135.5 kB / 0.8241 GB, free: 3.25 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.8921, allocations: 23.98 kB / 0.8241 GB, free: 3.227 MB / 0.6388 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005761/0.8927, allocations: 376.9 kB / 0.8245 GB, free: 2.848 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.8928, allocations: 110.7 kB / 0.8246 GB, free: 2.738 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.8942, allocations: 0.7597 MB / 0.8253 GB, free: 1.977 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.8943, allocations: 8 kB / 0.8254 GB, free: 1.969 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.8943, allocations: 0 / 0.8254 GB, free: 1.969 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/0.8955, allocations: 0.9229 MB / 0.8263 GB, free: 0.9609 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.8993, allocations: 2.259 MB / 0.8285 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.8994, allocations: 4 kB / 0.8285 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/0.9, allocations: 139.8 kB / 0.8286 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.948e-05/0.9, allocations: 9.719 kB / 0.8286 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.9001, allocations: 27.89 kB / 0.8286 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/0.9001, allocations: 11.98 kB / 0.8286 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.9001, allocations: 7.938 kB / 0.8287 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.9022, allocations: 1.402 MB / 0.83 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.9027, allocations: 259.7 kB / 0.8303 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.9028, allocations: 19.98 kB / 0.8303 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/0.9036, allocations: 102.2 kB / 0.8304 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.9038, allocations: 60.27 kB / 0.8304 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.9038, allocations: 20.88 kB / 0.8305 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008445/0.9047, allocations: 0.5744 MB / 0.831 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9047, allocations: 0 / 0.831 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001366/0.9061, allocations: 0.5338 MB / 0.8315 GB, free: 11.24 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006773/0.9067, allocations: 250 kB / 0.8318 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.9086, allocations: 0.9627 MB / 0.8327 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.9086, allocations: 0 / 0.8327 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005565/0.9091, allocations: 359 kB / 0.8331 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.9118, allocations: 0.6049 MB / 0.8337 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.9155, allocations: 2.619 MB / 0.8362 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/0.9162, allocations: 1.147 MB / 0.8373 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001052/0.9173, allocations: 302.1 kB / 0.8376 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.9175, allocations: 83.42 kB / 0.8377 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.9175, allocations: 0 / 0.8377 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of Templates: time 0.03249/0.95, allocations: 19.13 MB / 0.8564 GB, free: 2.062 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: