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.001565/0.001565, allocations: 111 kB / 16.64 MB, free: 6.371 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.001797/0.001797, allocations: 197.6 kB / 17.56 MB, free: 5.797 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.359/1.359, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7727/0.7727, allocations: 122.9 MB / 414.2 MB, free: 48 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.91 kB / 0.4912 GB, free: 7.836 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3816, allocations: 77.92 MB / 0.5673 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.638/1.02, allocations: 237 MB / 0.7987 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01033/1.03, allocations: 7.165 MB / 0.8057 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/1.033, allocations: 47.66 kB / 0.8058 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00209/1.035, allocations: 0.6106 MB / 0.8064 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005538/1.04, allocations: 1.944 MB / 0.8083 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004845/1.045, allocations: 1.878 MB / 0.8101 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004813/1.05, allocations: 3.276 MB / 0.8133 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/1.052, allocations: 1.104 MB / 0.8144 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004342/1.056, allocations: 1.788 MB / 0.8161 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/1.058, allocations: 1.022 MB / 0.8171 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/1.059, allocations: 120 kB / 0.8172 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/1.064, allocations: 2.589 MB / 0.8198 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006754/1.064, allocations: 463.6 kB / 0.8202 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/1.066, allocations: 0.7211 MB / 0.8209 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003544/1.069, allocations: 1.992 MB / 0.8228 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.069, allocations: 3.891 kB / 0.8228 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/1.069, allocations: 3 kB / 0.8229 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.154e-05/1.069, allocations: 0 / 0.8229 GB, free: 12.27 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.003064/1.072, allocations: 1.709 MB / 0.8245 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.073, allocations: 10.81 kB / 0.8245 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/1.075, allocations: 421.6 kB / 0.8249 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/1.077, allocations: 0.9646 MB / 0.8259 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/1.077, allocations: 66.19 kB / 0.8259 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/1.077, allocations: 81.94 kB / 0.826 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/1.079, allocations: 0.866 MB / 0.8269 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/1.079, allocations: 3.984 kB / 0.8269 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.257e-05/1.079, allocations: 32.22 kB / 0.8269 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/1.079, allocations: 32.03 kB / 0.8269 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.08, allocations: 0.8081 MB / 0.8277 GB, free: 10.66 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.00415/1.084, allocations: 3.634 MB / 0.8313 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/1.086, allocations: 1.097 MB / 0.8323 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/1.086, allocations: 365.1 kB / 0.8327 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006469/1.087, allocations: 412.2 kB / 0.8331 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.087, allocations: 40.31 kB / 0.8331 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.534e-06/1.087, allocations: 1.344 kB / 0.8331 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002018/1.089, allocations: 0.9576 MB / 0.8341 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/1.089, allocations: 58.19 kB / 0.8341 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/1.09, allocations: 0.8391 MB / 0.8349 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/1.09, allocations: 36.3 kB / 0.835 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/1.09, allocations: 485.2 kB / 0.8354 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/1.09, allocations: 216.5 kB / 0.8356 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/1.091, allocations: 107.8 kB / 0.8357 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.243e-05/1.091, allocations: 337.1 kB / 0.8361 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/1.091, allocations: 249.1 kB / 0.8363 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/1.092, allocations: 370.1 kB / 0.8366 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/1.092, allocations: 0.593 MB / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.092, allocations: 0 / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001171/1.094, allocations: 0.7305 MB / 0.8379 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.094, allocations: 5.875 kB / 0.8379 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.094, allocations: 0 / 0.8379 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.094, allocations: 5.781 kB / 0.8379 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/1.094, allocations: 128.2 kB / 0.8381 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.094, allocations: 4.281 kB / 0.8381 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/1.095, allocations: 129.8 kB / 0.8382 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/1.095, allocations: 24.03 kB / 0.8382 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007456/1.096, allocations: 0.4888 MB / 0.8387 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004691/1.097, allocations: 364.8 kB / 0.839 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008422/1.097, allocations: 0.581 MB / 0.8396 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/1.097, allocations: 4.953 kB / 0.8396 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001184/1.099, allocations: 0.7224 MB / 0.8403 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.099, allocations: 4 kB / 0.8403 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/1.099, allocations: 0 / 0.8403 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.862e-06/1.099, allocations: 4 kB / 0.8403 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/1.099, allocations: 127.6 kB / 0.8405 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.099, allocations: 4 kB / 0.8405 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/1.1, allocations: 123.6 kB / 0.8406 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/1.1, allocations: 24 kB / 0.8406 GB, free: 1.352 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.0001832/1.1, allocations: 219.8 kB / 0.8408 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/1.101, allocations: 102.8 kB / 0.8409 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/1.102, allocations: 0.7389 MB / 0.8416 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.102, allocations: 8 kB / 0.8416 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.102, allocations: 0 / 0.8416 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/1.103, allocations: 0.9059 MB / 0.8425 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/1.107, allocations: 2.255 MB / 0.8447 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.107, allocations: 4 kB / 0.8447 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/1.108, allocations: 135.8 kB / 0.8449 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/1.108, allocations: 7.984 kB / 0.8449 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/1.108, allocations: 20.34 kB / 0.8449 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/1.108, allocations: 18.52 kB / 0.8449 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.108, allocations: 4 kB / 0.8449 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/1.11, allocations: 1.219 MB / 0.8461 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005696/1.111, allocations: 263.7 kB / 0.8463 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/1.111, allocations: 12 kB / 0.8464 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.112, allocations: 107.9 kB / 0.8465 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/1.112, allocations: 46.86 kB / 0.8465 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/1.112, allocations: 23.98 kB / 0.8465 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009571/1.113, allocations: 0.5862 MB / 0.8471 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/1.113, allocations: 4 kB / 0.8471 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001658/1.115, allocations: 0.5338 MB / 0.8476 GB, free: 9.898 MB / 0.5919 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.0005992/1.115, allocations: 245.5 kB / 0.8479 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002198/1.118, allocations: 1.006 MB / 0.8488 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.118, allocations: 4 kB / 0.8488 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006157/1.118, allocations: 341.2 kB / 0.8492 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.121, allocations: 0.6073 MB / 0.8498 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/1.126, allocations: 2.606 MB / 0.8523 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/1.126, allocations: 1.126 MB / 0.8534 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/1.127, allocations: 87.42 kB / 0.8535 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/1.127, allocations: 4 kB / 0.8535 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of Templates: time 0.02725/1.154, allocations: 17.03 MB / 0.8701 GB, free: 3.059 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)