Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.0009879/0.0009879, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001051/0.001051, allocations: 172.8 kB / 24.84 MB, free: 8.855 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 0.9331/0.9331, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.6269/0.6269, allocations: 115 MB / 376.8 MB, free: 7.488 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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 482.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.662e-05, allocations: 4.797 kB / 482.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1374/0.1374, allocations: 150.7 MB / 0.6186 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006752/0.1442, allocations: 4.766 MB / 0.6232 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.1455, allocations: 55.5 kB / 0.6233 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0009622/0.1465, allocations: 416.8 kB / 0.6237 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.1489, allocations: 1.236 MB / 0.6249 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.1513, allocations: 1.496 MB / 0.6264 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00335/0.1547, allocations: 2.868 MB / 0.6292 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.156, allocations: 0.6913 MB / 0.6298 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.1588, allocations: 1.479 MB / 0.6313 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.1599, allocations: 0.6737 MB / 0.6319 GB, free: 3.043 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.16, allocations: 96 kB / 0.632 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.1614, allocations: 0.7211 MB / 0.6327 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000364/0.1618, allocations: 386.7 kB / 0.6331 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.1623, allocations: 391 kB / 0.6335 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.1644, allocations: 1.363 MB / 0.6348 GB, free: 100 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1644, allocations: 0 / 0.6348 GB, free: 100 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1644, allocations: 0 / 0.6348 GB, free: 100 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.1644, allocations: 0 / 0.6348 GB, free: 100 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002443/0.1668, allocations: 1.582 MB / 0.6364 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1669, allocations: 8.031 kB / 0.6364 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.1685, allocations: 0.4954 MB / 0.6368 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.1696, allocations: 0.8626 MB / 0.6377 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.1697, allocations: 61.31 kB / 0.6377 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.1698, allocations: 68 kB / 0.6378 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1709, allocations: 0.8011 MB / 0.6386 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.171, allocations: 0 / 0.6386 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.171, allocations: 27.98 kB / 0.6386 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.1711, allocations: 37.25 kB / 0.6387 GB, free: 12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.1717, allocations: 343.8 kB / 0.639 GB, free: 11.66 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.003475/0.1752, allocations: 2.612 MB / 0.6415 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.1758, allocations: 315 kB / 0.6418 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.176, allocations: 150.8 kB / 0.642 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.1762, allocations: 48.47 kB / 0.642 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.1766, allocations: 437.3 kB / 0.6424 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=57): time 1.954e-06/0.1766, allocations: 0 / 0.6424 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of matching and sorting (n=57): time 0.00116/0.1778, allocations: 0.5936 MB / 0.643 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.1779, allocations: 140.9 kB / 0.6432 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008179/0.1787, allocations: 0.7567 MB / 0.6439 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.1787, allocations: 37.7 kB / 0.6439 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.1791, allocations: 0.4953 MB / 0.6444 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1792, allocations: 206.2 kB / 0.6446 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.1794, allocations: 151.8 kB / 0.6448 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1796, allocations: 0.5082 MB / 0.6453 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.1798, allocations: 106.9 kB / 0.6454 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.1802, allocations: 0.5826 MB / 0.6459 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.1808, allocations: 411.7 kB / 0.6463 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1808, allocations: 4 kB / 0.6463 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000893/0.1817, allocations: 0.5395 MB / 0.6468 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.1817, allocations: 41.62 kB / 0.6469 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1817, allocations: 4.344 kB / 0.6469 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1817, allocations: 8 kB / 0.6469 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.1822, allocations: 155.8 kB / 0.647 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1823, allocations: 4 kB / 0.6471 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.1829, allocations: 147.6 kB / 0.6472 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.183, allocations: 31.97 kB / 0.6472 GB, free: 2.746 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0002988/0.1833, allocations: 236.8 kB / 0.6474 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.1834, allocations: 119.3 kB / 0.6476 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008564/0.1843, allocations: 0.5303 MB / 0.6481 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1843, allocations: 4 kB / 0.6481 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1843, allocations: 0 / 0.6481 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1843, allocations: 11.98 kB / 0.6481 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2326/0.4169, allocations: 1.87 MB / 0.6499 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.4169, allocations: 7.688 kB / 0.6499 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.4172, allocations: 109 kB / 0.65 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.4173, allocations: 9.938 kB / 0.65 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.4173, allocations: 26.05 kB / 0.6501 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.4173, allocations: 15.33 kB / 0.6501 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/0.4173, allocations: 12.06 kB / 0.6501 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/0.4183, allocations: 1.048 MB / 0.6511 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.4186, allocations: 219.8 kB / 0.6513 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/0.4187, allocations: 22.59 kB / 0.6513 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.4192, allocations: 64.73 kB / 0.6514 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.4193, allocations: 64.33 kB / 0.6515 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.4194, allocations: 39.47 kB / 0.6515 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003936/0.4197, allocations: 446.5 kB / 0.6519 GB, free: 31.29 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4197, allocations: 1.75 kB / 0.6519 GB, free: 31.29 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008213/0.4206, allocations: 298.2 kB / 0.6522 GB, free: 31.29 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.000321/0.4209, allocations: 222 kB / 0.6524 GB, free: 31.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.4215, allocations: 454.9 kB / 0.6529 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.4215, allocations: 5.062 kB / 0.6529 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.4218, allocations: 284.8 kB / 0.6531 GB, free: 30.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.423, allocations: 374.5 kB / 0.6535 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.4251, allocations: 1.791 MB / 0.6552 GB, free: 29.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.4252, allocations: 217.1 kB / 0.6555 GB, free: 29.81 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004863/0.4257, allocations: 152.7 kB / 0.6556 GB, free: 29.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/0.4263, allocations: 391 kB / 0.656 GB, free: 29.74 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/0.4263, allocations: 1.969 kB / 0.656 GB, free: 29.74 MB / 0.5573 GB Notification: Performance of Templates: time 0.022/0.4483, allocations: 17.45 MB / 0.673 GB, free: 28.24 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.294634958729148]