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.001374/0.001374, allocations: 84.75 kB / 19.94 MB, free: 1.781 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.001488/0.001488, allocations: 163.5 kB / 23.21 MB, free: 4.902 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.385/1.385, 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.882/0.882, 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.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 1.833e-06/1.833e-06, allocations: 0 / 0.5546 GB, free: 2.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.447e-05, allocations: 4.953 kB / 0.5547 GB, free: 2.672 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001618/0.001642, allocations: 0.6465 MB / 0.5553 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.003057, allocations: 1.089 MB / 0.5563 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.003097, allocations: 0 / 0.5563 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.003124, allocations: 3.938 kB / 0.5564 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.003185, allocations: 3.938 kB / 0.5564 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.003456, allocations: 55.75 kB / 0.5564 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.003551, allocations: 47.84 kB / 0.5565 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.073e-05/0.003632, allocations: 11.98 kB / 0.5565 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.003714, allocations: 23.92 kB / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.003765, allocations: 15.98 kB / 0.5565 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.003782, allocations: 4 kB / 0.5565 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.003864, allocations: 23.91 kB / 0.5565 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.003889, allocations: 11.92 kB / 0.5565 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.003922, allocations: 8 kB / 0.5565 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.004063, allocations: 71.81 kB / 0.5566 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.004064, allocations: 3.938 kB / 0.5566 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004065, allocations: 4 kB / 0.5566 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004068, allocations: 0 / 0.5566 GB, free: 0.6367 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.0005647/0.004633, allocations: 290.2 kB / 0.5569 GB, free: 328 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.00467, allocations: 12.62 kB / 0.5569 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.628e-05/0.004757, allocations: 4.938 kB / 0.5569 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.004863, allocations: 109.7 kB / 0.557 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.004877, allocations: 4.375 kB / 0.557 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.004897, allocations: 4.375 kB / 0.557 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.005096, allocations: 66.22 kB / 0.5571 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.005106, allocations: 4.172 kB / 0.5571 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.005118, allocations: 4.375 kB / 0.5571 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.005122, allocations: 384 / 0.5571 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.005316, allocations: 47.83 kB / 0.5571 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.005808, allocations: 208.6 kB / 0.5573 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.005994, allocations: 50.55 kB / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.006101, allocations: 36.97 kB / 0.5574 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.006124, allocations: 0 / 0.5574 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.006299, allocations: 75.25 kB / 0.5575 GB, free: 15.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.006301, allocations: 0 / 0.5575 GB, free: 15.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004671/0.006768, allocations: 125.6 kB / 0.5576 GB, free: 15.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.006819, allocations: 51.41 kB / 0.5577 GB, free: 15.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.006918, allocations: 113.8 kB / 0.5578 GB, free: 15.31 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.006937, allocations: 29.64 kB / 0.5578 GB, free: 15.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.006995, allocations: 88.14 kB / 0.5579 GB, free: 15.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.007021, allocations: 19.91 kB / 0.5579 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.007069, allocations: 25.7 kB / 0.5579 GB, free: 15.13 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.007212, allocations: 310.8 kB / 0.5582 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.007318, allocations: 27.97 kB / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.00744, allocations: 59.28 kB / 0.5583 GB, free: 14.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.007657, allocations: 75.41 kB / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007659, allocations: 3.938 kB / 0.5584 GB, free: 14.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002708/0.007929, allocations: 101.5 kB / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.007949, allocations: 11.94 kB / 0.5585 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007954, allocations: 4.594 kB / 0.5585 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.007968, allocations: 0 / 0.5585 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.008072, allocations: 15.98 kB / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.008076, allocations: 0 / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.13e-05/0.008147, allocations: 15.98 kB / 0.5585 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.008158, allocations: 4 kB / 0.5585 GB, free: 14.48 MB / 478.1 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 0.0001065/0.008265, allocations: 126.3 kB / 0.5587 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.008282, allocations: 11.89 kB / 0.5587 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.008574, allocations: 102.1 kB / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008576, allocations: 4 kB / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00858, allocations: 0 / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.008585, allocations: 3.984 kB / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.009057, allocations: 290.1 kB / 0.5591 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009059, allocations: 0 / 0.5591 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.009137, allocations: 11.98 kB / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.009139, allocations: 0 / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.009147, allocations: 0 / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009148, allocations: 4 kB / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.009151, allocations: 4 kB / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.009464, allocations: 199.3 kB / 0.5593 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.009473, allocations: 4 kB / 0.5593 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.009487, allocations: 48 / 0.5593 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.009589, allocations: 15.97 kB / 0.5593 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.009622, allocations: 4 kB / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.009636, allocations: 3.984 kB / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.009688, allocations: 95.47 kB / 0.5594 GB, free: 13.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.009688, allocations: 0 / 0.5594 GB, free: 13.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.009925, allocations: 11.94 kB / 0.5594 GB, free: 13.54 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 (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.0001535/0.01008, allocations: 103.2 kB / 0.5595 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.01035, allocations: 63.89 kB / 0.5595 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01035, allocations: 3.938 kB / 0.5596 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01047, allocations: 36.16 kB / 0.5596 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.01073, allocations: 11.94 kB / 0.5596 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.01107, allocations: 136.8 kB / 0.5597 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.935e-05/0.01113, allocations: 63.34 kB / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.691e-05/0.01116, allocations: 4 kB / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.01119, allocations: 12.5 kB / 0.5598 GB, free: 13.06 MB / 478.1 MB Notification: Performance of SimCode: time 3.9e-07/0.01119, allocations: 0 / 0.5598 GB, free: 13.06 MB / 478.1 MB Notification: Performance of Templates: time 0.003455/0.01465, allocations: 0.8311 MB / 0.5606 GB, free: 12.25 MB / 478.1 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.023319453001022] Failed to read output from testmodel.py, exit status != 0: 0.022669129073619843 0.038161467000000004 0.030885871000000002 Calling exit ...