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.001011/0.001011, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.00102/0.00102, allocations: 169 kB / 24.14 MB, free: 360 kB / 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 1.036/1.036, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.6261/0.6261, allocations: 115 MB / 376 MB, free: 7.484 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 2.555e-06/2.555e-06, allocations: 0 / 428.8 MB, free: 2.746 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.96e-05, allocations: 2.312 kB / 428.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001619/0.001649, allocations: 0.7949 MB / 429.6 MB, free: 1.945 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.002837, allocations: 1.116 MB / 430.7 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.002885, allocations: 3.938 kB / 430.7 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.002914, allocations: 3.938 kB / 430.7 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.002996, allocations: 23.8 kB / 430.7 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.003295, allocations: 47.81 kB / 430.8 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.943e-05/0.003394, allocations: 71.72 kB / 430.8 MB, free: 0.668 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.003481, allocations: 28.09 kB / 430.9 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.253e-05/0.003564, allocations: 39.91 kB / 430.9 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.003608, allocations: 27.95 kB / 430.9 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.003624, allocations: 4 kB / 430.9 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.53e-05/0.003689, allocations: 16 kB / 430.9 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.003708, allocations: 15.92 kB / 431 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.003735, allocations: 27.91 kB / 431 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.00384, allocations: 55.8 kB / 431 MB, free: 464 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003843, allocations: 0 / 431 MB, free: 464 kB / 394.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003843, allocations: 0 / 431 MB, free: 464 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.003847, allocations: 0 / 431 MB, free: 464 kB / 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.0003089/0.004156, allocations: 276.7 kB / 431.3 MB, free: 164 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.004188, allocations: 12.03 kB / 431.3 MB, free: 152 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.004214, allocations: 8.875 kB / 431.3 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.004293, allocations: 117.7 kB / 431.4 MB, free: 0 / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.004316, allocations: 8.422 kB / 431.4 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.004326, allocations: 8.312 kB / 431.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.091e-05/0.004417, allocations: 62.94 kB / 431.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.004423, allocations: 192 / 431.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.00443, allocations: 4.375 kB / 431.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.004436, allocations: 8.125 kB / 431.5 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/0.004453, allocations: 11.94 kB / 431.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.004723, allocations: 184.2 kB / 431.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.914e-05/0.004792, allocations: 38.59 kB / 431.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.004808, allocations: 8.859 kB / 431.8 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.004823, allocations: 0 / 431.8 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.76e-05/0.00489, allocations: 67.44 kB / 431.8 MB, free: 15.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.004891, allocations: 0 / 431.8 MB, free: 15.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001165/0.005008, allocations: 61.61 kB / 431.9 MB, free: 15.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.00504, allocations: 55.41 kB / 431.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.005108, allocations: 130.7 kB / 432.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.00512, allocations: 25.7 kB / 432.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.005158, allocations: 92.03 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.005175, allocations: 19.83 kB / 432.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.005212, allocations: 33.69 kB / 432.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.005289, allocations: 318.8 kB / 432.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.005306, allocations: 8 kB / 432.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.005343, allocations: 46.31 kB / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.837e-05/0.005411, allocations: 85.84 kB / 432.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005413, allocations: 0 / 432.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.783e-05/0.005501, allocations: 69.55 kB / 432.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.005515, allocations: 16.16 kB / 432.8 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005519, allocations: 0 / 432.8 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.005531, allocations: 4 kB / 432.8 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.005608, allocations: 19.92 kB / 432.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.005613, allocations: 7.984 kB / 432.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.005647, allocations: 11.98 kB / 432.8 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.005656, allocations: 4 kB / 432.8 MB, free: 14.46 MB / 410.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 6.096e-05/0.005717, allocations: 117.8 kB / 432.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.005727, allocations: 7.938 kB / 432.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.005748, allocations: 12.42 kB / 433 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.005751, allocations: 8 kB / 433 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.005752, allocations: 0 / 433 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005755, allocations: 0 / 433 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.005927, allocations: 218.7 kB / 433.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.00593, allocations: 7.938 kB / 433.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.005954, allocations: 7.938 kB / 433.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.005957, allocations: 3.984 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.005961, allocations: 0 / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.005963, allocations: 0 / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.005964, allocations: 0 / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/0.006039, allocations: 155.5 kB / 433.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.006046, allocations: 11.89 kB / 433.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.006055, allocations: 4 kB / 433.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.006089, allocations: 11.98 kB / 433.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.006113, allocations: 4 kB / 433.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.006117, allocations: 0 / 433.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.642e-05/0.006133, allocations: 16.84 kB / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006133, allocations: 3.938 kB / 433.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.006277, allocations: 16 kB / 433.4 MB, free: 13.82 MB / 410.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 9.903e-05/0.006376, allocations: 89.39 kB / 433.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.712e-05/0.006453, allocations: 44.77 kB / 433.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.006455, allocations: 0 / 433.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.006481, allocations: 20.84 kB / 433.6 MB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.006617, allocations: 11.88 kB / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.006859, allocations: 168.9 kB / 433.7 MB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.342e-05/0.006893, allocations: 63.8 kB / 433.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.295e-05/0.006916, allocations: 8 kB / 433.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.006967, allocations: 63.36 kB / 433.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006968, allocations: 0 / 433.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002558/0.009526, allocations: 1.055 MB / 434.9 MB, free: 12.25 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.409084126818925]