Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001447/0.001447, allocations: 92.72 kB / 20.21 MB, free: 4.195 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.001592/0.001592, allocations: 157.3 kB / 23.52 MB, free: 0.8906 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.511/1.511, 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.9471/0.9471, allocations: 115 MB / 375.3 MB, free: 7.574 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 480.7 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.067e-05, allocations: 2.312 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001873/0.001903, allocations: 0.6537 MB / 481.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.003373, allocations: 1.084 MB / 482.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.00343, allocations: 2.406 kB / 482.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.003461, allocations: 3.422 kB / 482.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.003537, allocations: 7.875 kB / 482.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.003902, allocations: 46.33 kB / 482.5 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.004014, allocations: 45.59 kB / 482.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.004109, allocations: 17.33 kB / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.004203, allocations: 20.5 kB / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.004254, allocations: 21.05 kB / 482.6 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.004273, allocations: 5.594 kB / 482.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.004349, allocations: 22.84 kB / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.004376, allocations: 11 kB / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.004413, allocations: 12.66 kB / 482.7 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.004554, allocations: 60.61 kB / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.004556, allocations: 0 / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004557, allocations: 0.875 kB / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.004561, allocations: 4.438 kB / 482.8 MB, free: 10.61 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.0005343/0.005095, allocations: 291.1 kB / 483 MB, free: 10.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.005137, allocations: 9.406 kB / 483.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.005256, allocations: 19.28 kB / 483.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.005329, allocations: 119.9 kB / 483.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.005346, allocations: 3.469 kB / 483.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.005359, allocations: 3.406 kB / 483.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.005552, allocations: 65.48 kB / 483.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.005562, allocations: 192 / 483.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.005574, allocations: 2.344 kB / 483.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005579, allocations: 384 / 483.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.005779, allocations: 53.69 kB / 483.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.006157, allocations: 208.4 kB / 483.5 MB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.006315, allocations: 55.31 kB / 483.6 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.006408, allocations: 24.17 kB / 483.6 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.006434, allocations: 2 kB / 483.6 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.006643, allocations: 86.89 kB / 483.7 MB, free: 9.809 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.006644, allocations: 0 / 483.7 MB, free: 9.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004219/0.007066, allocations: 118.3 kB / 483.8 MB, free: 9.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.007104, allocations: 57.62 kB / 483.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.007176, allocations: 105.9 kB / 484 MB, free: 9.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.007188, allocations: 25.7 kB / 484 MB, free: 9.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.007222, allocations: 83.7 kB / 484.1 MB, free: 9.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.007242, allocations: 22.62 kB / 484.1 MB, free: 9.457 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.007284, allocations: 22.89 kB / 484.1 MB, free: 9.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003254/0.007609, allocations: 319.6 kB / 484.4 MB, free: 25.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.007715, allocations: 22.41 kB / 484.4 MB, free: 25.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.007822, allocations: 52.95 kB / 484.5 MB, free: 25.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.00802, allocations: 80.48 kB / 484.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.008024, allocations: 2.25 kB / 484.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002664/0.00829, allocations: 109.7 kB / 484.7 MB, free: 24.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.008308, allocations: 8.656 kB / 484.7 MB, free: 24.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.008315, allocations: 6.406 kB / 484.7 MB, free: 24.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.008339, allocations: 2.219 kB / 484.7 MB, free: 24.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.008447, allocations: 12.94 kB / 484.7 MB, free: 24.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.008457, allocations: 10.05 kB / 484.7 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.237e-05/0.008539, allocations: 8.094 kB / 484.7 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.008551, allocations: 4.75 kB / 484.7 MB, free: 24.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.656e-05/0.008647, allocations: 114.1 kB / 484.9 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.008669, allocations: 14.58 kB / 484.9 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.008945, allocations: 107.9 kB / 485 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.008948, allocations: 1.188 kB / 485 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.008954, allocations: 3.328 kB / 485 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.008958, allocations: 1.375 kB / 485 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.009374, allocations: 296.5 kB / 485.3 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.009377, allocations: 3.984 kB / 485.3 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.009457, allocations: 9.828 kB / 485.3 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.00946, allocations: 1.188 kB / 485.3 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.00947, allocations: 2.812 kB / 485.3 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009472, allocations: 3.281 kB / 485.3 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009474, allocations: 1.312 kB / 485.3 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.009792, allocations: 197.5 kB / 485.5 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.009803, allocations: 9.703 kB / 485.5 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.009818, allocations: 1.094 kB / 485.5 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.009919, allocations: 14.58 kB / 485.5 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.009962, allocations: 6.688 kB / 485.5 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.009976, allocations: 5.094 kB / 485.5 MB, free: 24.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.01004, allocations: 87.73 kB / 485.6 MB, free: 24.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01004, allocations: 0 / 485.6 MB, free: 24.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.0103, allocations: 10.47 kB / 485.6 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 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * 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.0001645/0.01047, allocations: 99.58 kB / 485.7 MB, free: 24.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.01072, allocations: 69.39 kB / 485.8 MB, free: 24.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01072, allocations: 0 / 485.8 MB, free: 24.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.01083, allocations: 29.48 kB / 485.8 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.000278/0.01111, allocations: 18.94 kB / 485.8 MB, free: 24.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.01143, allocations: 128.5 kB / 486 MB, free: 24.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.968e-05/0.01147, allocations: 66.14 kB / 486 MB, free: 23.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.155e-05/0.01151, allocations: 6.312 kB / 486 MB, free: 23.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.01154, allocations: 12.12 kB / 486 MB, free: 23.95 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01154, allocations: 0 / 486 MB, free: 23.95 MB / 426.7 MB Notification: Performance of Templates: time 0.003641/0.01518, allocations: 0.84 MB / 486.9 MB, free: 23.88 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.420771635952406]