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.0009709/0.0009709, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001041/0.001041, allocations: 165 kB / 23.8 MB, free: 0.7734 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.05/1.05, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6225/0.6225, allocations: 115 MB / 375.7 MB, free: 7.613 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.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 6.031e-06/6.031e-06, allocations: 0 / 481.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.852e-05, allocations: 5.812 kB / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001234/0.001263, allocations: 0.6591 MB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002304, allocations: 1.12 MB / 483.3 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.002355, allocations: 2 kB / 483.3 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.002391, allocations: 3.938 kB / 483.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.002472, allocations: 5.625 kB / 483.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.002782, allocations: 46.31 kB / 483.3 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.002889, allocations: 46.12 kB / 483.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.002998, allocations: 14.34 kB / 483.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.003088, allocations: 29.89 kB / 483.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.003139, allocations: 17.2 kB / 483.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.003159, allocations: 6.406 kB / 483.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.003248, allocations: 21.81 kB / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.003274, allocations: 15 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.003311, allocations: 12.59 kB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.003463, allocations: 52.62 kB / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003466, allocations: 0 / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003467, allocations: 0 / 483.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.003472, allocations: 5.812 kB / 483.6 MB, free: 10.52 MB / 410.7 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.0005017/0.003974, allocations: 385.8 kB / 483.9 MB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.004028, allocations: 9.375 kB / 483.9 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.004169, allocations: 6.219 kB / 483.9 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.004268, allocations: 116.4 kB / 484.1 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.004284, allocations: 2.188 kB / 484.1 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.004301, allocations: 12.61 kB / 484.1 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.004476, allocations: 69.84 kB / 484.1 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.004489, allocations: 1.188 kB / 484.1 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.0045, allocations: 1 kB / 484.1 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.004511, allocations: 1.5 kB / 484.1 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.004561, allocations: 19.16 kB / 484.2 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.005009, allocations: 270 kB / 484.4 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.005116, allocations: 42.47 kB / 484.5 MB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.005146, allocations: 21.31 kB / 484.5 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.005168, allocations: 2.156 kB / 484.5 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.005269, allocations: 68.95 kB / 484.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.005271, allocations: 0.9062 kB / 484.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002361/0.005507, allocations: 69.83 kB / 484.6 MB, free: 9.492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.005546, allocations: 56.5 kB / 484.7 MB, free: 9.426 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.00587, allocations: 173.6 kB / 484.9 MB, free: 25.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.005884, allocations: 30.64 kB / 484.9 MB, free: 25.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.005936, allocations: 132.9 kB / 485 MB, free: 25.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.005956, allocations: 14.59 kB / 485 MB, free: 25.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.005989, allocations: 31.19 kB / 485.1 MB, free: 25.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.006096, allocations: 0.4896 MB / 485.5 MB, free: 24.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.00612, allocations: 4.25 kB / 485.5 MB, free: 24.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.006156, allocations: 55.78 kB / 485.6 MB, free: 24.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.25e-05/0.006218, allocations: 70.75 kB / 485.7 MB, free: 24.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.006222, allocations: 3.375 kB / 485.7 MB, free: 24.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001026/0.006324, allocations: 77.69 kB / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.006339, allocations: 9.375 kB / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.006344, allocations: 1.969 kB / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.006358, allocations: 2.281 kB / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.006449, allocations: 23.25 kB / 485.8 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.006456, allocations: 10 kB / 485.8 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.006486, allocations: 12.2 kB / 485.8 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.006494, allocations: 3.812 kB / 485.8 MB, free: 24.35 MB / 426.7 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 6.098e-05/0.006555, allocations: 160.9 kB / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.006566, allocations: 8.469 kB / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.006675, allocations: 74.77 kB / 486.1 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.006678, allocations: 5.703 kB / 486.1 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.006681, allocations: 0 / 486.1 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006684, allocations: 1.281 kB / 486.1 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.006876, allocations: 319.6 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.006878, allocations: 4.203 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.006909, allocations: 6 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.006911, allocations: 1.125 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.006918, allocations: 1.156 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006919, allocations: 3.938 kB / 486.4 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.006921, allocations: 0.9688 kB / 486.4 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.007026, allocations: 214.8 kB / 486.6 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.007033, allocations: 5.828 kB / 486.6 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.007049, allocations: 6.406 kB / 486.6 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.007082, allocations: 5.359 kB / 486.6 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.007117, allocations: 5.438 kB / 486.6 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.007123, allocations: 2.75 kB / 486.6 MB, free: 23.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.007161, allocations: 129.3 kB / 486.7 MB, free: 23.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007161, allocations: 0 / 486.7 MB, free: 23.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.007326, allocations: 17.77 kB / 486.8 MB, free: 23.48 MB / 426.7 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 9.746e-05/0.007424, allocations: 100.6 kB / 486.9 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.007531, allocations: 49 kB / 486.9 MB, free: 23.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.007532, allocations: 0 / 486.9 MB, free: 23.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.007563, allocations: 21.56 kB / 486.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.007801, allocations: 17.64 kB / 487 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.008308, allocations: 142.6 kB / 487.1 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.746e-05/0.008336, allocations: 58.58 kB / 487.1 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.567e-05/0.008361, allocations: 4.094 kB / 487.2 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.008386, allocations: 14.27 kB / 487.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008387, allocations: 5.5 kB / 487.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of Templates: time 0.002792/0.01118, allocations: 0.9031 MB / 488.1 MB, free: 23.06 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.431171055883169]