Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001144/0.001144, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001568/0.002712, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001068/0.001068, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.002652, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9132/0.9132, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08233/0.9955, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5983/0.5983, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05962/0.658, allocations: 38.15 MB / 402.4 MB, free: 12.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.523e-05, allocations: 10.25 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002163/0.002188, allocations: 0.7053 MB / 404.4 MB, free: 10.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003537, allocations: 1.131 MB / 405.5 MB, free: 9.129 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.003576, allocations: 0 / 405.5 MB, free: 9.129 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.003602, allocations: 3.938 kB / 405.5 MB, free: 9.125 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.003645, allocations: 7.938 kB / 405.5 MB, free: 9.117 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.003856, allocations: 47.77 kB / 405.6 MB, free: 9.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.003956, allocations: 47.86 kB / 405.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.004035, allocations: 15.98 kB / 405.7 MB, free: 9.008 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.954e-05/0.004135, allocations: 35.89 kB / 405.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.004195, allocations: 15.98 kB / 405.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.004213, allocations: 4 kB / 405.7 MB, free: 8.953 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.004303, allocations: 19.98 kB / 405.7 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.004329, allocations: 11.94 kB / 405.7 MB, free: 8.922 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.004353, allocations: 8 kB / 405.7 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.004486, allocations: 51.77 kB / 405.8 MB, free: 8.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.004499, allocations: 0 / 405.8 MB, free: 8.863 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0045, allocations: 4 kB / 405.8 MB, free: 8.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.004512, allocations: 0 / 405.8 MB, free: 8.859 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004548/0.004967, allocations: 268.5 kB / 406.1 MB, free: 8.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.005004, allocations: 16.02 kB / 406.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.005128, allocations: 85.98 kB / 406.2 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.005216, allocations: 121.8 kB / 406.3 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.005227, allocations: 384 / 406.3 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.00524, allocations: 8.359 kB / 406.3 MB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.005366, allocations: 66.88 kB / 406.4 MB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005373, allocations: 4.188 kB / 406.4 MB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.005381, allocations: 384 / 406.4 MB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005387, allocations: 4.375 kB / 406.4 MB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.005417, allocations: 15.86 kB / 406.4 MB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.00573, allocations: 160.3 kB / 406.5 MB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.37e-05/0.005814, allocations: 38.56 kB / 406.6 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.005835, allocations: 12.98 kB / 406.6 MB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.005851, allocations: 0 / 406.6 MB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.57e-05/0.005936, allocations: 55.39 kB / 406.6 MB, free: 7.902 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.005938, allocations: 4 kB / 406.6 MB, free: 7.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001259/0.006064, allocations: 61.59 kB / 406.7 MB, free: 7.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.006102, allocations: 63.34 kB / 406.8 MB, free: 7.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/0.006165, allocations: 102.7 kB / 406.9 MB, free: 7.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.006179, allocations: 29.7 kB / 406.9 MB, free: 7.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.006215, allocations: 92.02 kB / 407 MB, free: 7.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.006237, allocations: 15.91 kB / 407 MB, free: 7.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.006281, allocations: 29.69 kB / 407 MB, free: 7.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.006361, allocations: 314.8 kB / 407.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.00638, allocations: 7.984 kB / 407.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.006416, allocations: 44.23 kB / 407.4 MB, free: 7.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.639e-05/0.006483, allocations: 56.19 kB / 407.4 MB, free: 7.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.006486, allocations: 4 kB / 407.4 MB, free: 7.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001126/0.006598, allocations: 69.55 kB / 407.5 MB, free: 6.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.00661, allocations: 4 kB / 407.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.006616, allocations: 4 kB / 407.5 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.006628, allocations: 8.062 kB / 407.5 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.006723, allocations: 19.97 kB / 407.6 MB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.006728, allocations: 4 kB / 407.6 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.00677, allocations: 7.984 kB / 407.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.006782, allocations: 8 kB / 407.6 MB, free: 6.879 MB / 394.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 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.883e-05/0.006851, allocations: 117.8 kB / 407.7 MB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.006863, allocations: 0 / 407.7 MB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.006971, allocations: 66 kB / 407.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.006974, allocations: 3.938 kB / 407.8 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.006975, allocations: 0 / 407.8 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.006979, allocations: 8 kB / 407.8 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.007177, allocations: 202.8 kB / 408 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007179, allocations: 256 / 408 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.007231, allocations: 23.86 kB / 408 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.007239, allocations: 3.938 kB / 408 MB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007241, allocations: 4 kB / 408 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.007246, allocations: 0 / 408 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007248, allocations: 0 / 408 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007249, allocations: 0 / 408 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.007354, allocations: 148 kB / 408.1 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.007369, allocations: 7.938 kB / 408.1 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.007442, allocations: 7.984 kB / 408.2 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.007474, allocations: 4 kB / 408.2 MB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.007486, allocations: 4 kB / 408.2 MB, free: 6.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.692e-05/0.007502, allocations: 16.83 kB / 408.2 MB, free: 6.211 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007503, allocations: 0 / 408.2 MB, free: 6.211 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002081/0.007711, allocations: 15.95 kB / 408.2 MB, free: 6.195 MB / 394.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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001248/0.007835, allocations: 92.34 kB / 408.3 MB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.007929, allocations: 41.12 kB / 408.3 MB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.007936, allocations: 4 kB / 408.3 MB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.00798, allocations: 16.86 kB / 408.3 MB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.008192, allocations: 71.38 kB / 408.4 MB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.008967, allocations: 148.3 kB / 408.6 MB, free: 5.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.84e-05/0.009006, allocations: 59.34 kB / 408.6 MB, free: 5.699 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.181e-05/0.009038, allocations: 4.094 kB / 408.6 MB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.009093, allocations: 59.38 kB / 408.7 MB, free: 5.637 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009094, allocations: 0 / 408.7 MB, free: 5.637 MB / 394.7 MB Notification: Performance of Templates: time 0.003075/0.01217, allocations: 0.9078 MB / 409.6 MB, free: 4.73 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9817176405340433]