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.001938/0.001938, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001956/0.001956, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 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 1.019/1.019, allocations: 150 MB / 459.5 MB, free: 5.359 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 66.03 kB / 0.6366 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2182, allocations: 89.14 MB / 0.7236 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002365/0.2205, allocations: 0.7358 MB / 0.7244 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.222, allocations: 1.106 MB / 0.7254 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.222, allocations: 4 kB / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.2221, allocations: 3.938 kB / 0.7254 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.2221, allocations: 11.86 kB / 0.7255 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.2225, allocations: 59.83 kB / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2226, allocations: 71.81 kB / 0.7256 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2227, allocations: 16.12 kB / 0.7256 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/0.2228, allocations: 31.86 kB / 0.7256 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2229, allocations: 31.84 kB / 0.7257 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.2229, allocations: 8 kB / 0.7257 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.002e-05/0.223, allocations: 27.97 kB / 0.7257 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.223, allocations: 7.984 kB / 0.7257 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.2231, allocations: 35.8 kB / 0.7257 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.2232, allocations: 75.69 kB / 0.7258 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2232, allocations: 4 kB / 0.7258 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2232, allocations: 0 / 0.7258 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2233, allocations: 0 / 0.7258 GB, free: 1.355 MB / 0.5294 GB 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.0006036/0.2239, allocations: 391.1 kB / 0.7262 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2239, allocations: 12.03 kB / 0.7262 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.2239, allocations: 4.938 kB / 0.7262 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2241, allocations: 175.6 kB / 0.7264 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2241, allocations: 4.375 kB / 0.7264 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.2241, allocations: 8.375 kB / 0.7264 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.2243, allocations: 62.22 kB / 0.7264 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2243, allocations: 7.938 kB / 0.7264 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2243, allocations: 0 / 0.7264 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2243, allocations: 3.938 kB / 0.7264 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.2245, allocations: 51.89 kB / 0.7265 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.2252, allocations: 332.6 kB / 0.7268 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.2254, allocations: 46.56 kB / 0.7269 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2255, allocations: 32.95 kB / 0.7269 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2255, allocations: 4.031 kB / 0.7269 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.2257, allocations: 75.38 kB / 0.727 GB, free: 8 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2257, allocations: 0 / 0.727 GB, free: 8 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.000444/0.2261, allocations: 137.6 kB / 0.7271 GB, free: 15.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.2262, allocations: 51.41 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2263, allocations: 117.8 kB / 0.7273 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.2263, allocations: 29.7 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.2264, allocations: 100 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.2264, allocations: 19.84 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.2265, allocations: 25.7 kB / 0.7274 GB, free: 15.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2266, allocations: 326.8 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2267, allocations: 31.98 kB / 0.7278 GB, free: 15.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2269, allocations: 69.98 kB / 0.7278 GB, free: 15.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.2271, allocations: 105.9 kB / 0.7279 GB, free: 14.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2271, allocations: 0 / 0.7279 GB, free: 14.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00032/0.2274, allocations: 137.4 kB / 0.7281 GB, free: 14.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2275, allocations: 8 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2275, allocations: 0 / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2275, allocations: 4 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.2276, allocations: 19.98 kB / 0.7281 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2276, allocations: 3.938 kB / 0.7281 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.2277, allocations: 24.09 kB / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2277, allocations: 4 kB / 0.7281 GB, free: 14.71 MB / 0.545 GB 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 0.0001154/0.2278, allocations: 118.7 kB / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.2279, allocations: 4 kB / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.2279, allocations: 8.375 kB / 0.7283 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2279, allocations: 7.984 kB / 0.7283 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2279, allocations: 3.984 kB / 0.7283 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2279, allocations: 0 / 0.7283 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.2284, allocations: 374.4 kB / 0.7286 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2284, allocations: 4 kB / 0.7286 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.2285, allocations: 7.984 kB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2285, allocations: 0 / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2285, allocations: 4 kB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2285, allocations: 3.938 kB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2285, allocations: 4 kB / 0.7286 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.2288, allocations: 211.7 kB / 0.7288 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.2288, allocations: 81.06 kB / 0.7289 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2289, allocations: 4 kB / 0.7289 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.229, allocations: 15.92 kB / 0.7289 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.229, allocations: 7.984 kB / 0.7289 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.229, allocations: 4 kB / 0.729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.034e-05/0.2291, allocations: 91.27 kB / 0.729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2291, allocations: 4 kB / 0.729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002437/0.2293, allocations: 15.94 kB / 0.7291 GB, free: 13.65 MB / 0.545 GB 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.0001611/0.2295, allocations: 107.1 kB / 0.7292 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.2298, allocations: 83.92 kB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2298, allocations: 448 / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.2299, allocations: 39.91 kB / 0.7293 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.2302, allocations: 8 kB / 0.7293 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.2306, allocations: 158 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.2309, allocations: 0.6885 MB / 0.7301 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.2309, allocations: 8 kB / 0.7301 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.231, allocations: 11.44 kB / 0.7301 GB, free: 12.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.231, allocations: 0 / 0.7301 GB, free: 12.5 MB / 0.545 GB Notification: Performance of Templates: time 0.003841/0.2348, allocations: 0.9633 MB / 0.7311 GB, free: 11.55 MB / 0.545 GB " [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: 6.194933424005285] Failed to read output from testmodel.py, exit status != 0: 0.24265636107884347 0.25696819099999996 0.030896491 Calling exit ...