Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.00124/0.00124, allocations: 74.98 kB / 19.93 MB, free: 1.77 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.001474/0.001474, allocations: 170.5 kB / 23.22 MB, free: 4.887 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.384/1.384, 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.9004/0.9004, allocations: 114 MB / 373.9 MB, free: 13.23 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.5546 GB, free: 2.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.68e-05, allocations: 5.453 kB / 0.5546 GB, free: 2.664 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001725/0.001751, allocations: 0.733 MB / 0.5554 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.003308, allocations: 1.189 MB / 0.5565 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.003354, allocations: 0 / 0.5565 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.003381, allocations: 3.938 kB / 0.5565 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.763e-05/0.003459, allocations: 11.86 kB / 0.5565 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.003931, allocations: 146.5 kB / 0.5567 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.004112, allocations: 131.7 kB / 0.5568 GB, free: 460 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.004198, allocations: 8.188 kB / 0.5568 GB, free: 448 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.004331, allocations: 79.86 kB / 0.5569 GB, free: 368 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.259e-05/0.004413, allocations: 27.95 kB / 0.5569 GB, free: 340 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.004442, allocations: 8 kB / 0.5569 GB, free: 332 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.004514, allocations: 31.97 kB / 0.557 GB, free: 300 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.004542, allocations: 15.92 kB / 0.557 GB, free: 284 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.004612, allocations: 47.89 kB / 0.557 GB, free: 236 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.004825, allocations: 151.5 kB / 0.5572 GB, free: 84 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004828, allocations: 0 / 0.5572 GB, free: 84 kB / 462.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004828, allocations: 0 / 0.5572 GB, free: 84 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004832, allocations: 0 / 0.5572 GB, free: 84 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000588/0.00542, allocations: 346.4 kB / 0.5575 GB, free: 15.71 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.005453, allocations: 8.625 kB / 0.5575 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.005549, allocations: 16.89 kB / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.005656, allocations: 121.7 kB / 0.5576 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.005673, allocations: 4.375 kB / 0.5576 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.005698, allocations: 12.38 kB / 0.5576 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.005904, allocations: 78.09 kB / 0.5577 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005913, allocations: 192 / 0.5577 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005923, allocations: 384 / 0.5577 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.00593, allocations: 8.125 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.006128, allocations: 43.95 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.006599, allocations: 264.4 kB / 0.558 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.006785, allocations: 58.55 kB / 0.5581 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.006891, allocations: 32.91 kB / 0.5581 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.006913, allocations: 7.969 kB / 0.5581 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.007147, allocations: 91.34 kB / 0.5582 GB, free: 14.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.007148, allocations: 0 / 0.5582 GB, free: 14.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.000467/0.007615, allocations: 149.6 kB / 0.5583 GB, free: 14.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.007665, allocations: 63.41 kB / 0.5584 GB, free: 14.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.007761, allocations: 121.8 kB / 0.5585 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.007794, allocations: 29.7 kB / 0.5586 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.007863, allocations: 96.03 kB / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.007891, allocations: 23.83 kB / 0.5587 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.007968, allocations: 37.7 kB / 0.5587 GB, free: 14.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.008109, allocations: 318.8 kB / 0.559 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.008297, allocations: 81.67 kB / 0.5591 GB, free: 13.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.008504, allocations: 121.5 kB / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.00881, allocations: 158.7 kB / 0.5594 GB, free: 13.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.008812, allocations: 0 / 0.5594 GB, free: 13.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005083/0.009321, allocations: 244.8 kB / 0.5596 GB, free: 13.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.00937, allocations: 41.69 kB / 0.5596 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.009374, allocations: 0 / 0.5596 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.009389, allocations: 4 kB / 0.5596 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.009491, allocations: 15.98 kB / 0.5596 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.009496, allocations: 3.938 kB / 0.5596 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.009711, allocations: 35.91 kB / 0.5597 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.009735, allocations: 16.09 kB / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001079/0.009843, allocations: 126.8 kB / 0.5598 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.009866, allocations: 7.938 kB / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.01019, allocations: 126 kB / 0.5599 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.0102, allocations: 4 kB / 0.56 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.0102, allocations: 4 kB / 0.56 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.0102, allocations: 0 / 0.56 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.01066, allocations: 326.1 kB / 0.5603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01066, allocations: 0 / 0.5603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/0.01072, allocations: 15.92 kB / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01072, allocations: 0 / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.01073, allocations: 4 kB / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01074, allocations: 0 / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01074, allocations: 3.938 kB / 0.5603 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.01107, allocations: 215.4 kB / 0.5605 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.01109, allocations: 11.94 kB / 0.5605 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.0111, allocations: 0 / 0.5605 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.01119, allocations: 7.984 kB / 0.5605 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.01123, allocations: 7.984 kB / 0.5605 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.01124, allocations: 4 kB / 0.5605 GB, free: 12.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.0113, allocations: 98.55 kB / 0.5606 GB, free: 12.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0113, allocations: 0 / 0.5606 GB, free: 12.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.01156, allocations: 23.95 kB / 0.5606 GB, free: 12.21 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000148/0.01171, allocations: 107.2 kB / 0.5607 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004083/0.01212, allocations: 193.5 kB / 0.5609 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01212, allocations: 0 / 0.5609 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01225, allocations: 39.95 kB / 0.561 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.01252, allocations: 24.02 kB / 0.561 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.0129, allocations: 173.6 kB / 0.5612 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.773e-05/0.01296, allocations: 71.33 kB / 0.5612 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.858e-05/0.01299, allocations: 4 kB / 0.5612 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.01302, allocations: 12.5 kB / 0.5612 GB, free: 11.52 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01302, allocations: 3.938 kB / 0.5612 GB, free: 11.52 MB / 478.1 MB Notification: Performance of Templates: time 0.004655/0.01768, allocations: 1.556 MB / 0.5628 GB, free: 10.02 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.004919711500406] Failed to read output from testmodel.py, exit status != 0: 0.026205379515886307 0.04155338 0.033625930000000005 Calling exit ...