Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001503/0.001503, allocations: 74.12 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001588/0.001588, allocations: 168.9 kB / 23.22 MB, free: 4.887 MB / 14.72 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.37/1.37, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 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.8956/0.8956, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 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.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.601e-05, allocations: 4.953 kB / 0.5547 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001703/0.001729, allocations: 0.6507 MB / 0.5553 GB, free: 1.996 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.003242, allocations: 1.092 MB / 0.5564 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.003286, allocations: 0 / 0.5564 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.003311, allocations: 3.938 kB / 0.5564 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.003373, allocations: 7.875 kB / 0.5564 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.00365, allocations: 43.83 kB / 0.5564 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.00376, allocations: 55.78 kB / 0.5565 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.003842, allocations: 8 kB / 0.5565 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.003924, allocations: 27.91 kB / 0.5565 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.003971, allocations: 15.97 kB / 0.5565 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.003988, allocations: 4 kB / 0.5565 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.004055, allocations: 19.98 kB / 0.5565 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.004079, allocations: 11.92 kB / 0.5565 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.004115, allocations: 15.98 kB / 0.5566 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004268, allocations: 63.78 kB / 0.5566 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004271, allocations: 4 kB / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004272, allocations: 0 / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004276, allocations: 0 / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005222/0.004798, allocations: 286.1 kB / 0.5569 GB, free: 308 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.004836, allocations: 12.62 kB / 0.5569 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.004919, allocations: 8.891 kB / 0.5569 GB, free: 288 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.005027, allocations: 109.8 kB / 0.557 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.005045, allocations: 8.375 kB / 0.557 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.005064, allocations: 8.312 kB / 0.557 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.005277, allocations: 66.22 kB / 0.5571 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.005287, allocations: 192 / 0.5571 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005296, allocations: 384 / 0.5571 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.005304, allocations: 4.359 kB / 0.5571 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.005493, allocations: 39.91 kB / 0.5571 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.005954, allocations: 228.4 kB / 0.5574 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.006136, allocations: 54.48 kB / 0.5574 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.006238, allocations: 28.97 kB / 0.5574 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.006261, allocations: 4 kB / 0.5574 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.006435, allocations: 75.31 kB / 0.5575 GB, free: 15.58 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.006437, allocations: 0 / 0.5575 GB, free: 15.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004475/0.006884, allocations: 121.5 kB / 0.5576 GB, free: 15.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.006929, allocations: 55.41 kB / 0.5577 GB, free: 15.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.007024, allocations: 117.8 kB / 0.5578 GB, free: 15.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.00705, allocations: 25.7 kB / 0.5578 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.007104, allocations: 92.08 kB / 0.5579 GB, free: 15.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.007121, allocations: 7.906 kB / 0.5579 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.007171, allocations: 29.7 kB / 0.558 GB, free: 15.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.007303, allocations: 310.8 kB / 0.5582 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.007411, allocations: 27.97 kB / 0.5583 GB, free: 14.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.007538, allocations: 64.2 kB / 0.5583 GB, free: 14.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.00776, allocations: 84.2 kB / 0.5584 GB, free: 14.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007763, allocations: 0 / 0.5584 GB, free: 14.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003034/0.008066, allocations: 117.6 kB / 0.5585 GB, free: 14.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.008083, allocations: 7.938 kB / 0.5585 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.008089, allocations: 4 kB / 0.5585 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.008102, allocations: 0 / 0.5585 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.008213, allocations: 19.92 kB / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.008217, allocations: 0 / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.008295, allocations: 19.94 kB / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.008303, allocations: 0 / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.745e-05/0.008401, allocations: 126.8 kB / 0.5587 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.008413, allocations: 3.938 kB / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.008698, allocations: 110.4 kB / 0.5588 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008701, allocations: 0 / 0.5588 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.008705, allocations: 0 / 0.5588 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.008714, allocations: 7.984 kB / 0.5588 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.009177, allocations: 294.2 kB / 0.5591 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009178, allocations: 0 / 0.5591 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.009243, allocations: 11.98 kB / 0.5591 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.009245, allocations: 4 kB / 0.5591 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.009253, allocations: 192 / 0.5591 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009254, allocations: 3.938 kB / 0.5591 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009255, allocations: 7.938 kB / 0.5591 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.009559, allocations: 191.4 kB / 0.5593 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.00957, allocations: 7.953 kB / 0.5593 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.009587, allocations: 0 / 0.5593 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.009674, allocations: 7.984 kB / 0.5593 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.009717, allocations: 4 kB / 0.5593 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.009725, allocations: 8 kB / 0.5593 GB, free: 13.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.158e-05/0.009776, allocations: 83.27 kB / 0.5594 GB, free: 13.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.009776, allocations: 0 / 0.5594 GB, free: 13.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.01002, allocations: 16 kB / 0.5594 GB, free: 13.48 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001483/0.01017, allocations: 99.19 kB / 0.5595 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.01044, allocations: 64.19 kB / 0.5596 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01044, allocations: 11.94 kB / 0.5596 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.01056, allocations: 27.98 kB / 0.5596 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.01082, allocations: 15.92 kB / 0.5596 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.01115, allocations: 128.9 kB / 0.5598 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.54e-05/0.01122, allocations: 75.33 kB / 0.5598 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.67e-05/0.01124, allocations: 0 / 0.5598 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.01127, allocations: 16.5 kB / 0.5598 GB, free: 12.99 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.01127, allocations: 0 / 0.5598 GB, free: 12.99 MB / 478.1 MB Notification: Performance of Templates: time 0.003489/0.01476, allocations: 0.8361 MB / 0.5607 GB, free: 12.18 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.040910184383392] Failed to read output from testmodel.py, exit status != 0: 0.02297627180814743 0.03750717 0.030081683 Calling exit ...