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.001806/0.001806, allocations: 113.7 kB / 17.12 MB, free: 5.945 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.002189/0.002189, allocations: 208 kB / 20.09 MB, free: 2.996 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 0.9699/0.9699, allocations: 150 MB / 459.5 MB, free: 5.754 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: 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.002026/0.002026, allocations: 69.67 kB / 0.6366 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1993, allocations: 89.13 MB / 0.7236 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002596/0.2019, allocations: 0.7453 MB / 0.7243 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.2042, allocations: 1.2 MB / 0.7255 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.2042, allocations: 3.938 kB / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.2043, allocations: 7.922 kB / 0.7255 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2044, allocations: 15.86 kB / 0.7255 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.205, allocations: 144.3 kB / 0.7257 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2052, allocations: 123.7 kB / 0.7258 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2054, allocations: 20.16 kB / 0.7258 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2055, allocations: 47.91 kB / 0.7259 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2056, allocations: 51.81 kB / 0.7259 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.2056, allocations: 12 kB / 0.7259 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.632e-05/0.2057, allocations: 27.98 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2057, allocations: 7.984 kB / 0.7259 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.2058, allocations: 55.72 kB / 0.726 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.206, allocations: 131.5 kB / 0.7261 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.206, allocations: 4 kB / 0.7261 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.206, allocations: 0 / 0.7261 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.206, allocations: 0 / 0.7261 GB, free: 1.027 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007134/0.2067, allocations: 420.8 kB / 0.7265 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2068, allocations: 8.031 kB / 0.7265 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.2069, allocations: 12.89 kB / 0.7266 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.207, allocations: 176.3 kB / 0.7267 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2071, allocations: 8.375 kB / 0.7267 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.2071, allocations: 12.38 kB / 0.7267 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.2073, allocations: 78.14 kB / 0.7268 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2073, allocations: 3.938 kB / 0.7268 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2073, allocations: 4 kB / 0.7268 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2073, allocations: 0 / 0.7268 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.2075, allocations: 43.95 kB / 0.7269 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.2081, allocations: 348.7 kB / 0.7272 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.2083, allocations: 54.55 kB / 0.7272 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.2084, allocations: 24.97 kB / 0.7273 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2084, allocations: 4 kB / 0.7273 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.2087, allocations: 99.3 kB / 0.7274 GB, free: 15.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2087, allocations: 0 / 0.7274 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004722/0.2091, allocations: 153.5 kB / 0.7275 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2092, allocations: 51.41 kB / 0.7276 GB, free: 15.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2093, allocations: 125.2 kB / 0.7277 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.2093, allocations: 29.69 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.2094, allocations: 100.1 kB / 0.7278 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.2094, allocations: 23.78 kB / 0.7278 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/0.2095, allocations: 41.69 kB / 0.7279 GB, free: 15.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2097, allocations: 318.8 kB / 0.7282 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.2099, allocations: 55.89 kB / 0.7282 GB, free: 14.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.2101, allocations: 93.11 kB / 0.7283 GB, free: 14.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.2104, allocations: 150.8 kB / 0.7285 GB, free: 14.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2104, allocations: 0 / 0.7285 GB, free: 14.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005089/0.2109, allocations: 215.1 kB / 0.7287 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.2109, allocations: 37.69 kB / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2109, allocations: 0 / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.211, allocations: 0 / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2111, allocations: 24.08 kB / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.2111, allocations: 4 kB / 0.7287 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.2113, allocations: 39.95 kB / 0.7288 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.2113, allocations: 7.938 kB / 0.7288 GB, free: 14.04 MB / 0.545 GB 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.0001603/0.2115, allocations: 121.8 kB / 0.7289 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.2115, allocations: 7.953 kB / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.2119, allocations: 137.9 kB / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2119, allocations: 0 / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2119, allocations: 0 / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.212, allocations: 0 / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.2126, allocations: 374.5 kB / 0.7294 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2126, allocations: 0 / 0.7294 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.2127, allocations: 15.94 kB / 0.7294 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2127, allocations: 3.938 kB / 0.7294 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2127, allocations: 3.984 kB / 0.7294 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2127, allocations: 0 / 0.7294 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/0.2127, allocations: 7.938 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.2131, allocations: 215.9 kB / 0.7296 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.2132, allocations: 81.06 kB / 0.7297 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.2132, allocations: 8 kB / 0.7297 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.2133, allocations: 7.984 kB / 0.7297 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.2134, allocations: 7.922 kB / 0.7297 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.2134, allocations: 8 kB / 0.7297 GB, free: 12.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.198e-05/0.2135, allocations: 91.27 kB / 0.7298 GB, free: 12.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2135, allocations: 0 / 0.7298 GB, free: 12.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003879/0.2138, allocations: 20 kB / 0.7298 GB, free: 12.84 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 ($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.000193/0.214, allocations: 111.2 kB / 0.7299 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006111/0.2146, allocations: 163.2 kB / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2146, allocations: 4 kB / 0.7301 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.2148, allocations: 31.97 kB / 0.7301 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.2152, allocations: 15.75 kB / 0.7301 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.2157, allocations: 182.8 kB / 0.7303 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.2162, allocations: 0.6924 MB / 0.731 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.2162, allocations: 4 kB / 0.731 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.2162, allocations: 15.42 kB / 0.731 GB, free: 11.56 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.2162, allocations: 0 / 0.731 GB, free: 11.56 MB / 0.545 GB Notification: Performance of Templates: time 0.005024/0.2213, allocations: 1.449 MB / 0.7324 GB, free: 10.13 MB / 0.545 GB " [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.983747594989836] Failed to read output from testmodel.py, exit status != 0: 0.22927281796000898 0.24361922199999994 0.034674026000000004 Calling exit ...