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.0008754/0.0008754, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002114, allocations: 452 kB / 10.43 MB, free: 268 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.0008941/0.0008941, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.002112, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.901/0.901, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07781/0.9788, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.6135/0.6135, allocations: 120.1 MB / 364.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05877/0.6723, allocations: 38.16 MB / 402.4 MB, free: 12.27 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 2.164e-06/2.164e-06, allocations: 0 / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.438e-05, allocations: 2.312 kB / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002036/0.002061, allocations: 0.7871 MB / 404.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.003334, allocations: 1.112 MB / 405.6 MB, free: 9.031 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.003373, allocations: 0 / 405.6 MB, free: 9.031 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.003408, allocations: 15.86 kB / 405.6 MB, free: 9.016 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.003459, allocations: 11.86 kB / 405.6 MB, free: 9.004 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.00367, allocations: 59.75 kB / 405.7 MB, free: 8.945 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.00378, allocations: 71.67 kB / 405.8 MB, free: 8.875 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.521e-05/0.003866, allocations: 12.17 kB / 405.8 MB, free: 8.859 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.003976, allocations: 55.89 kB / 405.8 MB, free: 8.805 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.004035, allocations: 23.95 kB / 405.9 MB, free: 8.781 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.004054, allocations: 8 kB / 405.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.004129, allocations: 15.98 kB / 405.9 MB, free: 8.758 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.004159, allocations: 11.94 kB / 405.9 MB, free: 8.746 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.004187, allocations: 19.94 kB / 405.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.004313, allocations: 51.84 kB / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.004323, allocations: 0 / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.004324, allocations: 0 / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.004336, allocations: 0 / 406 MB, free: 8.676 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.0004248/0.004761, allocations: 292.3 kB / 406.3 MB, free: 8.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.00479, allocations: 8.031 kB / 406.3 MB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.004826, allocations: 8.938 kB / 406.3 MB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.004919, allocations: 117.7 kB / 406.4 MB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.004931, allocations: 8.375 kB / 406.4 MB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.004946, allocations: 8.375 kB / 406.4 MB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.005074, allocations: 66.92 kB / 406.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005082, allocations: 4.125 kB / 406.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.00509, allocations: 384 / 406.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.005097, allocations: 4.125 kB / 406.5 MB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.731e-05/0.005124, allocations: 11.94 kB / 406.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.005491, allocations: 188.2 kB / 406.7 MB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.145e-05/0.005572, allocations: 34.59 kB / 406.7 MB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.005591, allocations: 12.98 kB / 406.7 MB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.005611, allocations: 8 kB / 406.7 MB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.881e-05/0.0057, allocations: 63.3 kB / 406.8 MB, free: 7.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.005702, allocations: 0 / 406.8 MB, free: 7.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001286/0.005831, allocations: 61.61 kB / 406.8 MB, free: 7.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.005872, allocations: 55.41 kB / 406.9 MB, free: 7.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.005955, allocations: 130.6 kB / 407 MB, free: 7.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.005974, allocations: 33.64 kB / 407.1 MB, free: 7.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.00602, allocations: 92.08 kB / 407.1 MB, free: 7.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.00604, allocations: 11.91 kB / 407.2 MB, free: 7.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.006087, allocations: 33.69 kB / 407.2 MB, free: 7.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.006181, allocations: 322.8 kB / 407.5 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.006205, allocations: 4 kB / 407.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.00626, allocations: 53.98 kB / 407.6 MB, free: 6.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.314e-05/0.006343, allocations: 73.86 kB / 407.6 MB, free: 6.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006345, allocations: 4 kB / 407.6 MB, free: 6.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001237/0.006469, allocations: 77.55 kB / 407.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.006484, allocations: 7.938 kB / 407.7 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006489, allocations: 4 kB / 407.7 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.006502, allocations: 0 / 407.7 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.00662, allocations: 23.92 kB / 407.8 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.006626, allocations: 7.984 kB / 407.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.006679, allocations: 8.156 kB / 407.8 MB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.006691, allocations: 8 kB / 407.8 MB, free: 6.664 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.345e-05/0.006764, allocations: 117.8 kB / 407.9 MB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.006781, allocations: 11.92 kB / 407.9 MB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.006806, allocations: 8.438 kB / 407.9 MB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.006809, allocations: 4 kB / 407.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.006811, allocations: 0 / 407.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006814, allocations: 0 / 407.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.007035, allocations: 218.7 kB / 408.1 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.007038, allocations: 7.938 kB / 408.1 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.007076, allocations: 8 kB / 408.1 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.007087, allocations: 3.953 kB / 408.1 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.00709, allocations: 4 kB / 408.2 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.007097, allocations: 7.938 kB / 408.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.0071, allocations: 3.984 kB / 408.2 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007101, allocations: 0 / 408.2 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.007209, allocations: 147.5 kB / 408.3 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.007222, allocations: 4 kB / 408.3 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.007287, allocations: 7.984 kB / 408.3 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.007314, allocations: 4 kB / 408.3 MB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.007324, allocations: 7.922 kB / 408.3 MB, free: 6.055 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.152e-05/0.007346, allocations: 20.86 kB / 408.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007346, allocations: 0 / 408.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002165/0.007562, allocations: 15.94 kB / 408.4 MB, free: 6.016 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.0001156/0.007678, allocations: 88.39 kB / 408.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.477e-05/0.007773, allocations: 40.78 kB / 408.5 MB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.007779, allocations: 4 kB / 408.5 MB, free: 5.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.007819, allocations: 25.91 kB / 408.5 MB, free: 5.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.008034, allocations: 101 kB / 408.6 MB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.008471, allocations: 169.1 kB / 408.8 MB, free: 5.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.093e-05/0.008512, allocations: 63.28 kB / 408.8 MB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.002e-05/0.008542, allocations: 4 kB / 408.9 MB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.008604, allocations: 59.36 kB / 408.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008605, allocations: 0 / 408.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of Templates: time 0.003173/0.01178, allocations: 1.059 MB / 410 MB, free: 4.328 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: 2.902273502200842]