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.0007357/0.0007357, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0007316/0.0007316, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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.8519/0.8519, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.5492/0.5492, allocations: 114 MB / 374.7 MB, free: 8.723 MB / 346.7 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: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 0 / 0.5554 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.952e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001351/0.001381, allocations: 0.7236 MB / 0.5561 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002672, allocations: 1.088 MB / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.002739, allocations: 0 / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.002775, allocations: 7.875 kB / 0.5572 GB, free: 444 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.002853, allocations: 15.88 kB / 0.5572 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.003165, allocations: 47.81 kB / 0.5573 GB, free: 380 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.00328, allocations: 71.77 kB / 0.5573 GB, free: 308 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.003397, allocations: 20.17 kB / 0.5574 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/0.003492, allocations: 39.91 kB / 0.5574 GB, free: 244 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.003543, allocations: 23.95 kB / 0.5574 GB, free: 220 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.003561, allocations: 8 kB / 0.5574 GB, free: 212 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.726e-05/0.003618, allocations: 19.88 kB / 0.5574 GB, free: 192 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.003643, allocations: 19.97 kB / 0.5575 GB, free: 172 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.003676, allocations: 19.92 kB / 0.5575 GB, free: 152 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.003821, allocations: 83.73 kB / 0.5576 GB, free: 68 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003824, allocations: 0 / 0.5576 GB, free: 68 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.432e-06/0.003825, allocations: 0 / 0.5576 GB, free: 68 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.00383, allocations: 4 kB / 0.5576 GB, free: 64 kB / 0.5105 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.000745/0.004575, allocations: 306 kB / 0.5579 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.004612, allocations: 8.625 kB / 0.5579 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.004654, allocations: 8.891 kB / 0.5579 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.161e-05/0.004745, allocations: 117.7 kB / 0.558 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.004757, allocations: 4.375 kB / 0.558 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.004772, allocations: 8.359 kB / 0.558 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.00492, allocations: 70.16 kB / 0.5581 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.00493, allocations: 192 / 0.5581 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.00494, allocations: 8.375 kB / 0.5581 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004946, allocations: 4.125 kB / 0.5581 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.107e-05/0.005037, allocations: 43.95 kB / 0.5581 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.005471, allocations: 264.3 kB / 0.5584 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.005589, allocations: 50.56 kB / 0.5584 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.005644, allocations: 32.95 kB / 0.5585 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.005667, allocations: 3.938 kB / 0.5585 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.005806, allocations: 83.34 kB / 0.5585 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.005807, allocations: 0 / 0.5585 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.000271/0.006078, allocations: 133.6 kB / 0.5587 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.006113, allocations: 51.41 kB / 0.5587 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.006186, allocations: 129.1 kB / 0.5588 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.006199, allocations: 33.7 kB / 0.5589 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.006248, allocations: 96.08 kB / 0.559 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.006264, allocations: 15.91 kB / 0.559 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.006302, allocations: 25.7 kB / 0.559 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.006379, allocations: 322.8 kB / 0.5593 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.006445, allocations: 27.98 kB / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.006522, allocations: 73.92 kB / 0.5594 GB, free: 14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.00666, allocations: 109.9 kB / 0.5595 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006662, allocations: 0 / 0.5595 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001812/0.006843, allocations: 141.4 kB / 0.5596 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.006859, allocations: 9.562 kB / 0.5597 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006865, allocations: 0 / 0.5597 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.006881, allocations: 4 kB / 0.5597 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.006965, allocations: 15.98 kB / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.006971, allocations: 0 / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.007015, allocations: 19.92 kB / 0.5597 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.007026, allocations: 4 kB / 0.5597 GB, free: 13.67 MB / 0.5261 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 7.132e-05/0.007098, allocations: 121.9 kB / 0.5598 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.007107, allocations: 11.89 kB / 0.5598 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.007129, allocations: 8.438 kB / 0.5598 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.007132, allocations: 4 kB / 0.5598 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.007136, allocations: 0 / 0.5598 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.007141, allocations: 3.984 kB / 0.5598 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.007438, allocations: 318 kB / 0.5601 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007439, allocations: 0 / 0.5601 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.007466, allocations: 12 kB / 0.5602 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.007468, allocations: 3.984 kB / 0.5602 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007475, allocations: 3.938 kB / 0.5602 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007476, allocations: 0 / 0.5602 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007477, allocations: 400 / 0.5602 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.007644, allocations: 199.4 kB / 0.5604 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.007653, allocations: 15.88 kB / 0.5604 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.007664, allocations: 0 / 0.5604 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.007705, allocations: 12 kB / 0.5604 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.00774, allocations: 11.98 kB / 0.5604 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.007746, allocations: 0 / 0.5604 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.007782, allocations: 95.27 kB / 0.5605 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007782, allocations: 3.938 kB / 0.5605 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001807/0.007963, allocations: 19.94 kB / 0.5605 GB, free: 12.78 MB / 0.5261 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.0001247/0.008088, allocations: 103.2 kB / 0.5606 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.008267, allocations: 76.08 kB / 0.5607 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.008269, allocations: 0 / 0.5607 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.008333, allocations: 35.91 kB / 0.5607 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.008532, allocations: 19.92 kB / 0.5607 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.008834, allocations: 183.2 kB / 0.5609 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.29e-05/0.008887, allocations: 71.58 kB / 0.561 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.008916, allocations: 20.48 kB / 0.561 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of SimCode: time 7.12e-07/0.008917, allocations: 0 / 0.561 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.001914/0.01083, allocations: 1.072 MB / 0.562 GB, free: 11.16 MB / 0.5261 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: 4.738912803120911] Failed to read output from testmodel.py, exit status != 0: 0.016345806419849396 0.025721575 0.02021829 Calling exit ...