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.001458/0.001458, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001557/0.001557, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.506/1.506, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.9429/0.9429, allocations: 115 MB / 375.3 MB, free: 7.559 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.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 4.508e-06/4.508e-06, allocations: 0 / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.317e-05/4.768e-05, allocations: 7.156 kB / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.003306/0.003354, allocations: 0.6519 MB / 481.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.005834, allocations: 1.102 MB / 482.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.00591, allocations: 0 / 482.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.005953, allocations: 4.969 kB / 482.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.006062, allocations: 6.219 kB / 482.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.006526, allocations: 50.33 kB / 482.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.006675, allocations: 52.38 kB / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.006781, allocations: 4.906 kB / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.006899, allocations: 36.45 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.006967, allocations: 12.19 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.006993, allocations: 4.812 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.007097, allocations: 23.41 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.007127, allocations: 19.62 kB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.007177, allocations: 12.64 kB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.007391, allocations: 72.44 kB / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.007395, allocations: 0 / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007396, allocations: 0 / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.007402, allocations: 0.6875 kB / 482.8 MB, free: 10.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000712/0.008114, allocations: 296.5 kB / 483.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.008159, allocations: 9.844 kB / 483.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.008321, allocations: 10.03 kB / 483.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.008437, allocations: 118.6 kB / 483.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.008457, allocations: 384 / 483.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.008476, allocations: 3.875 kB / 483.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.008765, allocations: 67.75 kB / 483.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.008777, allocations: 4.125 kB / 483.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.008793, allocations: 4.375 kB / 483.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.0088, allocations: 4.125 kB / 483.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.009093, allocations: 44.91 kB / 483.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.009635, allocations: 211.8 kB / 483.6 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.009904, allocations: 52.41 kB / 483.6 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.01008, allocations: 44.34 kB / 483.7 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.01012, allocations: 0 / 483.7 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.01048, allocations: 78.91 kB / 483.7 MB, free: 9.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.01048, allocations: 1.844 kB / 483.7 MB, free: 9.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006967/0.01118, allocations: 136 kB / 483.9 MB, free: 9.785 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.01122, allocations: 52.5 kB / 483.9 MB, free: 9.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.01131, allocations: 110.4 kB / 484 MB, free: 9.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01133, allocations: 30.8 kB / 484.1 MB, free: 9.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.01137, allocations: 85.2 kB / 484.1 MB, free: 9.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.0114, allocations: 20.05 kB / 484.2 MB, free: 9.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.01146, allocations: 24.02 kB / 484.2 MB, free: 9.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.01153, allocations: 319.4 kB / 484.5 MB, free: 9.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.0117, allocations: 27.09 kB / 484.5 MB, free: 9.141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.0119, allocations: 60.38 kB / 484.6 MB, free: 9.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.01226, allocations: 90.66 kB / 484.7 MB, free: 9.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01226, allocations: 0.875 kB / 484.7 MB, free: 9.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004741/0.01274, allocations: 119.7 kB / 484.8 MB, free: 8.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.01276, allocations: 11.12 kB / 484.8 MB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.01277, allocations: 5.031 kB / 484.8 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.0128, allocations: 2.188 kB / 484.8 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.01298, allocations: 15.73 kB / 484.8 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.01299, allocations: 6.094 kB / 484.8 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.01313, allocations: 20.45 kB / 484.9 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.01315, allocations: 4.219 kB / 484.9 MB, free: 8.957 MB / 410.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 0.0002925/0.01344, allocations: 115.2 kB / 485 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.01348, allocations: 12.05 kB / 485 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.01392, allocations: 109.2 kB / 485.1 MB, free: 24.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01392, allocations: 0 / 485.1 MB, free: 24.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.01394, allocations: 3.938 kB / 485.1 MB, free: 24.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01394, allocations: 0 / 485.1 MB, free: 24.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006454/0.01459, allocations: 305 kB / 485.4 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.01459, allocations: 1.094 kB / 485.4 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.0147, allocations: 10.92 kB / 485.4 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.0147, allocations: 0.9062 kB / 485.4 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01472, allocations: 1.219 kB / 485.4 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01472, allocations: 6.094 kB / 485.4 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01472, allocations: 0 / 485.4 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.01523, allocations: 205.2 kB / 485.6 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.01524, allocations: 6.703 kB / 485.6 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.01527, allocations: 1.156 kB / 485.6 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.01544, allocations: 8.547 kB / 485.6 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.0155, allocations: 12.75 kB / 485.6 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.01552, allocations: 2.406 kB / 485.6 MB, free: 24.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.01562, allocations: 83.98 kB / 485.7 MB, free: 24.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01562, allocations: 1.469 kB / 485.7 MB, free: 24.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004816/0.0161, allocations: 19.25 kB / 485.7 MB, free: 24.27 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 (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.0001953/0.01629, allocations: 97.34 kB / 485.8 MB, free: 24.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.01671, allocations: 73.55 kB / 485.9 MB, free: 24.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.01671, allocations: 5.469 kB / 485.9 MB, free: 24.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.0169, allocations: 26.77 kB / 485.9 MB, free: 24.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.01737, allocations: 16.7 kB / 486 MB, free: 24.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.01785, allocations: 138.1 kB / 486.1 MB, free: 24.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.01793, allocations: 73.61 kB / 486.2 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.117e-05/0.01798, allocations: 8.234 kB / 486.2 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.01803, allocations: 12.22 kB / 486.2 MB, free: 23.94 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01803, allocations: 0 / 486.2 MB, free: 23.94 MB / 426.7 MB Notification: Performance of Templates: time 0.005614/0.02364, allocations: 0.8754 MB / 487.1 MB, free: 23.87 MB / 426.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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.402198376948945]