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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 96.2 kB / 20.43 MB, free: 4.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.079/1.079, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6622/0.6622, allocations: 115 MB / 375.7 MB, free: 7.641 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.662e-05/3.838e-05, allocations: 3.406 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.1564/0.1564, allocations: 154.1 MB / 0.6207 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1664, allocations: 6.168 MB / 0.6267 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.1686, allocations: 83.25 kB / 0.6268 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.1699, allocations: 341.4 kB / 0.6271 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003923/0.1738, allocations: 1.391 MB / 0.6284 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.1779, allocations: 1.718 MB / 0.6301 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004764/0.1827, allocations: 3.389 MB / 0.6334 GB, free: 480 kB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.1845, allocations: 0.9021 MB / 0.6343 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.1872, allocations: 1.59 MB / 0.6359 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.189, allocations: 0.91 MB / 0.6368 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.1893, allocations: 128 kB / 0.6369 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.1909, allocations: 0.8184 MB / 0.6377 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.1913, allocations: 0.5101 MB / 0.6382 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006344/0.192, allocations: 0.534 MB / 0.6387 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.1947, allocations: 1.507 MB / 0.6402 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1947, allocations: 4 kB / 0.6402 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1947, allocations: 0 / 0.6402 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.1948, allocations: 0 / 0.6402 GB, free: 9.539 MB / 0.5573 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.002127/0.1969, allocations: 1.783 MB / 0.6419 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1969, allocations: 8.031 kB / 0.6419 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.1987, allocations: 0.5682 MB / 0.6425 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.2002, allocations: 1.093 MB / 0.6435 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.2002, allocations: 70 kB / 0.6436 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2004, allocations: 96 kB / 0.6437 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009144/0.2013, allocations: 0.6576 MB / 0.6443 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.2013, allocations: 0 / 0.6443 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.2014, allocations: 32 kB / 0.6444 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.2014, allocations: 30 kB / 0.6444 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.202, allocations: 327.8 kB / 0.6447 GB, free: 4.75 MB / 0.5573 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.00326/0.2052, allocations: 2.23 MB / 0.6469 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008725/0.2061, allocations: 373.8 kB / 0.6473 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.2064, allocations: 170.1 kB / 0.6474 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/0.2067, allocations: 60.44 kB / 0.6475 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.2067, allocations: 45.89 kB / 0.6475 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 3.076e-06/0.2067, allocations: 0 / 0.6475 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.001118/0.2079, allocations: 0.5588 MB / 0.6481 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.2079, allocations: 59.84 kB / 0.6481 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/0.2087, allocations: 0.8351 MB / 0.6489 GB, free: 340 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.2088, allocations: 41.7 kB / 0.649 GB, free: 292 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.3007/0.5095, allocations: 0.5693 MB / 0.6495 GB, free: 42.58 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.5098, allocations: 226.4 kB / 0.6497 GB, free: 42.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.51, allocations: 165.7 kB / 0.6499 GB, free: 42.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.5101, allocations: 0.5054 MB / 0.6504 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.5104, allocations: 117.1 kB / 0.6505 GB, free: 42.01 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.5109, allocations: 0.7304 MB / 0.6512 GB, free: 41.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.5116, allocations: 0.5894 MB / 0.6518 GB, free: 40.87 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.5116, allocations: 2.469 kB / 0.6518 GB, free: 40.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001186/0.5128, allocations: 0.6358 MB / 0.6524 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.5128, allocations: 7.594 kB / 0.6524 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.5128, allocations: 9.266 kB / 0.6524 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.895e-05/0.5128, allocations: 11.12 kB / 0.6524 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.5134, allocations: 175 kB / 0.6526 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/0.5134, allocations: 19.7 kB / 0.6526 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.5139, allocations: 76.97 kB / 0.6527 GB, free: 40.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.514, allocations: 35.02 kB / 0.6527 GB, free: 40.74 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000458/0.5144, allocations: 248.6 kB / 0.653 GB, free: 40.61 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004152/0.5149, allocations: 0.7322 MB / 0.6537 GB, free: 39.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006221/0.5155, allocations: 0.5793 MB / 0.6543 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.865e-06/0.5155, allocations: 3.219 kB / 0.6543 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001004/0.5165, allocations: 0.6314 MB / 0.6549 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5165, allocations: 12.44 kB / 0.6549 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5165, allocations: 7.375 kB / 0.6549 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5165, allocations: 13.11 kB / 0.6549 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.517, allocations: 176.3 kB / 0.6551 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.517, allocations: 16.8 kB / 0.6551 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.5174, allocations: 67.69 kB / 0.6552 GB, free: 39.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.5175, allocations: 40.09 kB / 0.6552 GB, free: 39.34 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (96): * Single equations (assignments): 96 * 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.0002128/0.5177, allocations: 316.7 kB / 0.6555 GB, free: 39.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5178, allocations: 134.8 kB / 0.6556 GB, free: 39.01 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.5185, allocations: 471.5 kB / 0.6561 GB, free: 38.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5185, allocations: 8.406 kB / 0.6561 GB, free: 38.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5185, allocations: 2.531 kB / 0.6561 GB, free: 38.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004394/0.519, allocations: 0.6212 MB / 0.6567 GB, free: 38.51 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.5209, allocations: 1.534 MB / 0.6582 GB, free: 38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5209, allocations: 7.031 kB / 0.6582 GB, free: 38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.5213, allocations: 133.2 kB / 0.6583 GB, free: 38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.5213, allocations: 6.844 kB / 0.6583 GB, free: 38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.5214, allocations: 17.38 kB / 0.6583 GB, free: 38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.5214, allocations: 8.75 kB / 0.6584 GB, free: 38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.5214, allocations: 6.219 kB / 0.6584 GB, free: 38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.5222, allocations: 0.8221 MB / 0.6592 GB, free: 37.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.5225, allocations: 189.8 kB / 0.6593 GB, free: 37.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.11e-05/0.5226, allocations: 16.47 kB / 0.6594 GB, free: 37.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.5229, allocations: 33.98 kB / 0.6594 GB, free: 37.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.523, allocations: 54.66 kB / 0.6594 GB, free: 37.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.523, allocations: 22.28 kB / 0.6595 GB, free: 37.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004848/0.5235, allocations: 0.5164 MB / 0.66 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.5235, allocations: 0 / 0.66 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001276/0.5248, allocations: 0.5864 MB / 0.6605 GB, free: 37.31 MB / 0.5573 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.0003422/0.5251, allocations: 166.2 kB / 0.6607 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.5263, allocations: 0.6533 MB / 0.6613 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5263, allocations: 4.188 kB / 0.6613 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.5265, allocations: 192.3 kB / 0.6615 GB, free: 37.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.528, allocations: 0.5589 MB / 0.6621 GB, free: 37.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.531, allocations: 2.007 MB / 0.664 GB, free: 36.13 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.5312, allocations: 257.4 kB / 0.6643 GB, free: 36.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009041/0.5321, allocations: 279.6 kB / 0.6645 GB, free: 36.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.5323, allocations: 85.31 kB / 0.6646 GB, free: 36.01 MB / 0.5573 GB Notification: Performance of SimCode: time 2.675e-06/0.5323, allocations: 0.9688 kB / 0.6646 GB, free: 36.01 MB / 0.5573 GB Notification: Performance of Templates: time 0.03175/0.5641, allocations: 19.79 MB / 0.6839 GB, free: 34.19 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.865708556957543]