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.0007332/0.0007332, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009954/0.001729, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0006953/0.0006953, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009496/0.001645, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9349/0.9349, allocations: 177.1 MB / 189.6 MB, free: 3.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1692/1.104, allocations: 53.67 MB / 243.2 MB, free: 2.348 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6923/0.6923, allocations: 119.1 MB / 363.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06046/0.7527, allocations: 37.85 MB / 400.9 MB, free: 15.31 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.563e-06/1.563e-06, allocations: 0 / 402.2 MB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.295e-05, allocations: 2.312 kB / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001681/0.001694, allocations: 0.7868 MB / 403 MB, free: 13.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.00295, allocations: 1.112 MB / 404.1 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.002988, allocations: 0 / 404.1 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.003013, allocations: 7.875 kB / 404.1 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.00306, allocations: 15.86 kB / 404.1 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.003253, allocations: 55.75 kB / 404.2 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.003366, allocations: 75.73 kB / 404.3 MB, free: 11.94 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.491e-05/0.003451, allocations: 12.17 kB / 404.3 MB, free: 11.92 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.003554, allocations: 47.83 kB / 404.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.003611, allocations: 27.95 kB / 404.4 MB, free: 11.85 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.003629, allocations: 4 kB / 404.4 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.003706, allocations: 19.98 kB / 404.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.003726, allocations: 15.94 kB / 404.4 MB, free: 11.81 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.003755, allocations: 15.94 kB / 404.4 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.003876, allocations: 47.83 kB / 404.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/0.003891, allocations: 4 kB / 404.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.003891, allocations: 0 / 404.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.003909, allocations: 0 / 404.5 MB, free: 11.74 MB / 394.7 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.0004486/0.004358, allocations: 292.3 kB / 404.8 MB, free: 11.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.004389, allocations: 11.89 kB / 404.8 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.004426, allocations: 8.875 kB / 404.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.877e-05/0.004525, allocations: 125.7 kB / 404.9 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.004538, allocations: 8.375 kB / 404.9 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.004552, allocations: 4.375 kB / 404.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.004681, allocations: 70.86 kB / 405 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.004689, allocations: 4.188 kB / 405 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004699, allocations: 4.375 kB / 405 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.004706, allocations: 4.125 kB / 405 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.84e-05/0.004734, allocations: 7.938 kB / 405 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.005095, allocations: 192.2 kB / 405.2 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.005176, allocations: 34.61 kB / 405.2 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.005197, allocations: 8.859 kB / 405.2 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.005224, allocations: 0 / 405.2 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.005325, allocations: 75.39 kB / 405.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.005326, allocations: 0 / 405.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001367/0.005463, allocations: 65.55 kB / 405.4 MB, free: 10.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.005575, allocations: 51.41 kB / 405.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.005654, allocations: 132 kB / 405.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.005669, allocations: 25.7 kB / 405.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.005709, allocations: 92.08 kB / 405.7 MB, free: 10.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.005729, allocations: 11.91 kB / 405.7 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.005772, allocations: 33.69 kB / 405.7 MB, free: 10.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.005861, allocations: 318.8 kB / 406 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.005882, allocations: 8 kB / 406 MB, free: 10.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.005928, allocations: 53.98 kB / 406.1 MB, free: 9.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.006006, allocations: 73.86 kB / 406.1 MB, free: 9.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006008, allocations: 0 / 406.1 MB, free: 9.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001147/0.006123, allocations: 77.55 kB / 406.2 MB, free: 9.785 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.006138, allocations: 11.94 kB / 406.2 MB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.006143, allocations: 0 / 406.2 MB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.006157, allocations: 4 kB / 406.2 MB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.006267, allocations: 27.91 kB / 406.3 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.006271, allocations: 320 / 406.3 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.006325, allocations: 15.94 kB / 406.3 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.006335, allocations: 0 / 406.3 MB, free: 9.727 MB / 394.7 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 7.025e-05/0.006405, allocations: 124.9 kB / 406.4 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.006418, allocations: 11.86 kB / 406.4 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.006443, allocations: 12.44 kB / 406.4 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.006445, allocations: 0 / 406.4 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006447, allocations: 0 / 406.4 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.00645, allocations: 3.938 kB / 406.4 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.006657, allocations: 222.8 kB / 406.7 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.006661, allocations: 3.938 kB / 406.7 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.006697, allocations: 11.94 kB / 406.7 MB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.006707, allocations: 7.953 kB / 406.7 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.006709, allocations: 3.984 kB / 406.7 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.006714, allocations: 4 kB / 406.7 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006715, allocations: 0 / 406.7 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006716, allocations: 0 / 406.7 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.875e-05/0.006815, allocations: 151.5 kB / 406.8 MB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.006828, allocations: 3.984 kB / 406.8 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.006887, allocations: 8 kB / 406.8 MB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.006913, allocations: 3.984 kB / 406.8 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.006917, allocations: 0 / 406.8 MB, free: 9.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.114e-05/0.006938, allocations: 20.36 kB / 406.9 MB, free: 9.094 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006938, allocations: 0 / 406.9 MB, free: 9.094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.007182, allocations: 27.86 kB / 406.9 MB, free: 9.066 MB / 394.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: 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.0001203/0.007302, allocations: 84.41 kB / 407 MB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.007409, allocations: 40.78 kB / 407 MB, free: 8.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.007417, allocations: 7.984 kB / 407 MB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.00745, allocations: 12.86 kB / 407 MB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.007645, allocations: 19.92 kB / 407.1 MB, free: 8.891 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.008076, allocations: 169.4 kB / 407.2 MB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.008114, allocations: 59.34 kB / 407.3 MB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.413e-05/0.008148, allocations: 11.98 kB / 407.3 MB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.008207, allocations: 55.38 kB / 407.3 MB, free: 8.551 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008208, allocations: 0 / 407.3 MB, free: 8.551 MB / 394.7 MB Notification: Performance of Templates: time 0.003193/0.0114, allocations: 1.087 MB / 408.4 MB, free: 7.488 MB / 394.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.19112172909081]