Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.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.002347/0.002347, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.002871/0.002871, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003301/0.003301, allocations: 246.1 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.369/1.369, allocations: 138.4 MB / 454.7 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5543 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.538e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.3995/0.3995, allocations: 180 MB / 0.73 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.009404/0.4089, allocations: 4.907 MB / 0.7348 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007442/0.4096, allocations: 43.62 kB / 0.7349 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.4109, allocations: 413.3 kB / 0.7353 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.4146, allocations: 1.512 MB / 0.7367 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.4168, allocations: 0.8295 MB / 0.7376 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002754/0.4196, allocations: 1.888 MB / 0.7394 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008163/0.4204, allocations: 485.2 kB / 0.7399 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.4226, allocations: 1.125 MB / 0.741 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.4239, allocations: 0.5104 MB / 0.7415 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.4241, allocations: 60 kB / 0.7415 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.4268, allocations: 1.18 MB / 0.7427 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.4272, allocations: 295.1 kB / 0.743 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004413/0.4276, allocations: 279.4 kB / 0.7432 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.43, allocations: 1.445 MB / 0.7446 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.43, allocations: 0 / 0.7446 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.268e-06/0.43, allocations: 4 kB / 0.7446 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.43, allocations: 0 / 0.7446 GB, free: 10.04 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00213/0.4322, allocations: 1.199 MB / 0.7458 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4322, allocations: 12.75 kB / 0.7458 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.4336, allocations: 274.9 kB / 0.7461 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.4348, allocations: 0.5784 MB / 0.7466 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.4349, allocations: 37 kB / 0.7467 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.435, allocations: 48 kB / 0.7467 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.4359, allocations: 0.5319 MB / 0.7472 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.436, allocations: 0 / 0.7472 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.436, allocations: 24 kB / 0.7473 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.4361, allocations: 13 kB / 0.7473 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.4368, allocations: 299.8 kB / 0.7476 GB, free: 6.922 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.002969/0.4397, allocations: 1.45 MB / 0.749 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/0.4404, allocations: 267.7 kB / 0.7492 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.4407, allocations: 141 kB / 0.7494 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.441, allocations: 40.25 kB / 0.7494 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.441, allocations: 41.67 kB / 0.7495 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 2.335e-06/0.441, allocations: 4 kB / 0.7495 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.001224/0.4422, allocations: 422.4 kB / 0.7499 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4423, allocations: 55.34 kB / 0.7499 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/0.4431, allocations: 0.5807 MB / 0.7505 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.4432, allocations: 33.7 kB / 0.7505 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.4435, allocations: 383.2 kB / 0.7509 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.4437, allocations: 138.9 kB / 0.751 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.4439, allocations: 91.62 kB / 0.7511 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003849/0.4442, allocations: 0.5703 MB / 0.7517 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.4445, allocations: 92.95 kB / 0.7517 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.445, allocations: 344.6 kB / 0.7521 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.4456, allocations: 247.8 kB / 0.7523 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.4456, allocations: 0 / 0.7523 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007783/0.4464, allocations: 360.5 kB / 0.7526 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4464, allocations: 8 kB / 0.7527 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4464, allocations: 0 / 0.7527 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4464, allocations: 0 / 0.7527 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.4468, allocations: 67.91 kB / 0.7527 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.4468, allocations: 7.984 kB / 0.7527 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.4472, allocations: 23.89 kB / 0.7528 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.4473, allocations: 8 kB / 0.7528 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004447/0.4477, allocations: 262.9 kB / 0.753 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004318/0.4481, allocations: 348.3 kB / 0.7533 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004985/0.4486, allocations: 254.7 kB / 0.7536 GB, free: 460 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.4486, allocations: 0 / 0.7536 GB, free: 460 kB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006792/0.4493, allocations: 333 kB / 0.7539 GB, free: 120 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.4493, allocations: 4 kB / 0.7539 GB, free: 116 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.4493, allocations: 4.094 kB / 0.7539 GB, free: 112 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.4493, allocations: 4 kB / 0.7539 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.4496, allocations: 63.91 kB / 0.754 GB, free: 44 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4497, allocations: 4.625 kB / 0.754 GB, free: 40 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.4501, allocations: 27.88 kB / 0.754 GB, free: 12 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.4501, allocations: 12 kB / 0.754 GB, free: 0 / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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.0002485/0.4503, allocations: 288 kB / 0.7543 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.4505, allocations: 71.62 kB / 0.7544 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007781/0.4513, allocations: 335.4 kB / 0.7547 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4513, allocations: 4 kB / 0.7547 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4513, allocations: 0 / 0.7547 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005907/0.4519, allocations: 348.5 kB / 0.755 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.4541, allocations: 1.043 MB / 0.756 GB, free: 13.83 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4541, allocations: 8.188 kB / 0.756 GB, free: 13.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.4545, allocations: 83.89 kB / 0.7561 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4545, allocations: 0 / 0.7561 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.4546, allocations: 12 kB / 0.7561 GB, free: 13.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.4546, allocations: 3.938 kB / 0.7561 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4546, allocations: 4 kB / 0.7561 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4557, allocations: 0.6197 MB / 0.7567 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.456, allocations: 91.56 kB / 0.7568 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.456, allocations: 12 kB / 0.7568 GB, free: 12.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.4564, allocations: 25.23 kB / 0.7569 GB, free: 12.93 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.4565, allocations: 27.89 kB / 0.7569 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.4565, allocations: 12 kB / 0.7569 GB, free: 12.89 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004923/0.457, allocations: 382.8 kB / 0.7573 GB, free: 12.52 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.457, allocations: 0 / 0.7573 GB, free: 12.52 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009352/0.458, allocations: 339.2 kB / 0.7576 GB, free: 12.19 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.0003579/0.4583, allocations: 175.9 kB / 0.7578 GB, free: 12.01 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009627/0.4593, allocations: 416.5 kB / 0.7582 GB, free: 11.59 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4593, allocations: 4 kB / 0.7582 GB, free: 11.59 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.4596, allocations: 147.4 kB / 0.7583 GB, free: 11.44 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.4613, allocations: 342.8 kB / 0.7586 GB, free: 11.15 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.4633, allocations: 1.125 MB / 0.7597 GB, free: 9.965 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.4637, allocations: 324.5 kB / 0.76 GB, free: 9.621 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000534/0.4643, allocations: 157.6 kB / 0.7602 GB, free: 9.469 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.4644, allocations: 44.5 kB / 0.7602 GB, free: 9.426 MB / 0.573 GB Notification: Performance of SimCode: time 6.71e-07/0.4644, allocations: 0 / 0.7602 GB, free: 9.426 MB / 0.573 GB Notification: Performance of Templates: time 0.02381/0.4882, allocations: 11.6 MB / 0.7716 GB, free: 14.18 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.779922851012088]