Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001542/0.001542, allocations: 74.2 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.001414/0.001414, allocations: 169.6 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.385/1.385, allocations: 177.1 MB / 203.5 MB, free: 9.164 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.8808/0.8808, 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.909e-05, allocations: 7.812 kB / 0.5547 GB, free: 2.621 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001763/0.001793, allocations: 0.7211 MB / 0.5554 GB, free: 1.906 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.003274, allocations: 1.096 MB / 0.5565 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.003323, allocations: 0 / 0.5565 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.003358, allocations: 7.875 kB / 0.5565 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.725e-05/0.003425, allocations: 11.92 kB / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.003726, allocations: 59.69 kB / 0.5565 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.003852, allocations: 71.78 kB / 0.5566 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.003949, allocations: 12.17 kB / 0.5566 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.00408, allocations: 39.89 kB / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.004134, allocations: 27.97 kB / 0.5567 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.004154, allocations: 4 kB / 0.5567 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.00422, allocations: 23.97 kB / 0.5567 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.004244, allocations: 15.88 kB / 0.5567 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.00429, allocations: 27.91 kB / 0.5567 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004441, allocations: 79.8 kB / 0.5568 GB, free: 428 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004443, allocations: 3.938 kB / 0.5568 GB, free: 424 kB / 462.1 MB Notification: Performance of FrontEnd: time 5.82e-07/0.004444, allocations: 0 / 0.5568 GB, free: 424 kB / 462.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.004452, allocations: 0 / 0.5568 GB, free: 424 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005437/0.004996, allocations: 306 kB / 0.5571 GB, free: 88 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.005029, allocations: 12.62 kB / 0.5571 GB, free: 76 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.005068, allocations: 12.89 kB / 0.5571 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.005212, allocations: 109.8 kB / 0.5572 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.005229, allocations: 8.375 kB / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.005249, allocations: 4.375 kB / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.005451, allocations: 74.09 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.00546, allocations: 192 / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.005472, allocations: 4.375 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.005481, allocations: 4.125 kB / 0.5573 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.005661, allocations: 47.94 kB / 0.5574 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.00625, allocations: 264.3 kB / 0.5576 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.006459, allocations: 50.55 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.006563, allocations: 28.97 kB / 0.5577 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.006586, allocations: 3.938 kB / 0.5577 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.006784, allocations: 83.41 kB / 0.5578 GB, free: 15.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.006785, allocations: 0 / 0.5578 GB, free: 15.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.000436/0.007221, allocations: 129.6 kB / 0.5579 GB, free: 15.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.00727, allocations: 55.41 kB / 0.558 GB, free: 15.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.007385, allocations: 125 kB / 0.5581 GB, free: 14.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.007407, allocations: 29.7 kB / 0.5581 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.007466, allocations: 84.14 kB / 0.5582 GB, free: 14.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.007489, allocations: 27.84 kB / 0.5582 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.007542, allocations: 29.7 kB / 0.5583 GB, free: 14.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.007693, allocations: 322.8 kB / 0.5586 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.007817, allocations: 31.91 kB / 0.5586 GB, free: 14.44 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.007963, allocations: 73.92 kB / 0.5587 GB, free: 14.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.008216, allocations: 105.9 kB / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.008218, allocations: 0 / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003231/0.008541, allocations: 133.6 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.008556, allocations: 17.84 kB / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.00856, allocations: 0 / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.008582, allocations: 4 kB / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.008707, allocations: 15.98 kB / 0.5589 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.008711, allocations: 0 / 0.5589 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.66e-05/0.008798, allocations: 19.88 kB / 0.5589 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.008815, allocations: 8 kB / 0.559 GB, free: 14.02 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * 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.85e-05/0.008913, allocations: 122.8 kB / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.008929, allocations: 11.89 kB / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.008958, allocations: 20.42 kB / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008959, allocations: 0 / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.008962, allocations: 0 / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.008965, allocations: 0 / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.009436, allocations: 314.1 kB / 0.5594 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.009437, allocations: 0 / 0.5594 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.009492, allocations: 7.984 kB / 0.5594 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.009494, allocations: 0 / 0.5594 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.009505, allocations: 7.938 kB / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.009508, allocations: 12 kB / 0.5594 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009509, allocations: 0 / 0.5594 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.009836, allocations: 203.4 kB / 0.5596 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.009847, allocations: 3.953 kB / 0.5596 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.009865, allocations: 4 kB / 0.5596 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.00995, allocations: 3.984 kB / 0.5596 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.009986, allocations: 7.938 kB / 0.5596 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.009995, allocations: 11.94 kB / 0.5597 GB, free: 13.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.066e-05/0.01006, allocations: 95.27 kB / 0.5597 GB, free: 13.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01006, allocations: 0 / 0.5597 GB, free: 13.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.01031, allocations: 15.94 kB / 0.5598 GB, free: 13.14 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.0001702/0.01048, allocations: 107.2 kB / 0.5599 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.01076, allocations: 71.88 kB / 0.5599 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.01076, allocations: 4.438 kB / 0.5599 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.01088, allocations: 31.92 kB / 0.56 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.01114, allocations: 22.5 kB / 0.56 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.01153, allocations: 154.2 kB / 0.5601 GB, free: 12.72 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.806e-05/0.0116, allocations: 71.33 kB / 0.5602 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.057e-05/0.01164, allocations: 4 kB / 0.5602 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.01167, allocations: 12.5 kB / 0.5602 GB, free: 12.61 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01167, allocations: 4 kB / 0.5602 GB, free: 12.61 MB / 478.1 MB Notification: Performance of Templates: time 0.003904/0.01557, allocations: 1.021 MB / 0.5612 GB, free: 11.62 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.006435737013817] Failed to read output from testmodel.py, exit status != 0: 0.02360563352704048 0.038739792 0.031135218000000003 Calling exit ...