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.001459/0.001459, allocations: 105 kB / 20.44 MB, free: 1.504 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.002269/0.002269, allocations: 209.3 kB / 23.76 MB, free: 4.727 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.066/1.066, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 178] 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.00232/0.00232, allocations: 67.66 kB / 0.6425 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2019, allocations: 89.16 MB / 0.7296 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002318/0.2042, allocations: 0.7422 MB / 0.7303 GB, free: 28 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.2059, allocations: 1.116 MB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.206, allocations: 0 / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.206, allocations: 7.875 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.2061, allocations: 7.938 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.2065, allocations: 63.81 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.2066, allocations: 63.84 kB / 0.7315 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2067, allocations: 20.17 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.2068, allocations: 35.78 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.2069, allocations: 31.91 kB / 0.7316 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.2069, allocations: 4 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.207, allocations: 19.98 kB / 0.7316 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.207, allocations: 15.92 kB / 0.7317 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.2071, allocations: 31.86 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.2072, allocations: 79.67 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2072, allocations: 8 kB / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2072, allocations: 0 / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.85e-06/0.2072, allocations: 3.938 kB / 0.7318 GB, free: 14.51 MB / 0.5606 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.00061/0.2078, allocations: 298 kB / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2079, allocations: 12.03 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.2079, allocations: 8.891 kB / 0.7321 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2081, allocations: 117.1 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.2081, allocations: 8.359 kB / 0.7322 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.2081, allocations: 4.375 kB / 0.7322 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.2083, allocations: 66.23 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2083, allocations: 3.938 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2083, allocations: 4 kB / 0.7323 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2083, allocations: 0 / 0.7323 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.2085, allocations: 47.89 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.2092, allocations: 299.7 kB / 0.7326 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.2094, allocations: 46.66 kB / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.2095, allocations: 32.89 kB / 0.7327 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2095, allocations: 4 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.2098, allocations: 83.36 kB / 0.7328 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.2098, allocations: 0 / 0.7328 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004367/0.2102, allocations: 125.6 kB / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2103, allocations: 51.41 kB / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2104, allocations: 129.7 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.2104, allocations: 29.69 kB / 0.7331 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.2105, allocations: 96.09 kB / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.2105, allocations: 15.91 kB / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.2106, allocations: 29.7 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2107, allocations: 322.8 kB / 0.7335 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2108, allocations: 27.92 kB / 0.7336 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.211, allocations: 81.95 kB / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.2112, allocations: 109.9 kB / 0.7337 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2112, allocations: 0 / 0.7337 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003184/0.2116, allocations: 133.5 kB / 0.7339 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2116, allocations: 8.219 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.2116, allocations: 4 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2116, allocations: 4 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.2117, allocations: 15.98 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2117, allocations: 3.938 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.2118, allocations: 15.92 kB / 0.7339 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2118, allocations: 8 kB / 0.7339 GB, free: 12.08 MB / 0.5606 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.0001088/0.212, allocations: 125.8 kB / 0.734 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.212, allocations: 11.95 kB / 0.734 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.212, allocations: 12.34 kB / 0.7341 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.212, allocations: 0 / 0.7341 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.212, allocations: 4 kB / 0.7341 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.212, allocations: 0 / 0.7341 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.2126, allocations: 341.5 kB / 0.7344 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2126, allocations: 0 / 0.7344 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.2127, allocations: 15.98 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2127, allocations: 0 / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.2127, allocations: 0 / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2127, allocations: 3.938 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2127, allocations: 0 / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.2131, allocations: 207.4 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.2131, allocations: 3.953 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.2131, allocations: 8 kB / 0.7346 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.2132, allocations: 15.92 kB / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.2132, allocations: 3.984 kB / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.2132, allocations: 4 kB / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.84e-05/0.2133, allocations: 96.84 kB / 0.7347 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2133, allocations: 0 / 0.7347 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002589/0.2136, allocations: 19.94 kB / 0.7348 GB, free: 11.15 MB / 0.5606 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.0001565/0.2137, allocations: 103.2 kB / 0.7349 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.214, allocations: 76.28 kB / 0.7349 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.214, allocations: 3.938 kB / 0.7349 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.2141, allocations: 35.97 kB / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2144, allocations: 12.58 kB / 0.735 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.2148, allocations: 191.4 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.2152, allocations: 0.6885 MB / 0.7358 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2152, allocations: 11.44 kB / 0.7358 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.2152, allocations: 4 kB / 0.7358 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of Templates: time 0.003115/0.2183, allocations: 1.053 MB / 0.7369 GB, free: 8.926 MB / 0.5606 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: 8.083584300009534] Failed to read output from testmodel.py, exit status != 0: 0.22714682715013623 0.24244533100000001 0.03204738 Calling exit ...