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.001882/0.001882, allocations: 97.47 kB / 20.21 MB, free: 4.211 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.001939/0.001939, allocations: 165.6 kB / 23.53 MB, free: 0.8945 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 1.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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.058/1.058, allocations: 115 MB / 375.3 MB, free: 7.594 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.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: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.493e-05, allocations: 4.703 kB / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002639/0.002674, allocations: 0.7305 MB / 481.5 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.004827, allocations: 1.197 MB / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.004891, allocations: 0 / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.004927, allocations: 8.578 kB / 482.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.005034, allocations: 9.625 kB / 482.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007219/0.005755, allocations: 142.5 kB / 482.8 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.006056, allocations: 120.5 kB / 483 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.006233, allocations: 23.75 kB / 483 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.006448, allocations: 69.25 kB / 483.1 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.006611, allocations: 40.69 kB / 483.1 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.006667, allocations: 8.562 kB / 483.1 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.006812, allocations: 27.3 kB / 483.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.006857, allocations: 20.23 kB / 483.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.006975, allocations: 36.38 kB / 483.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.007358, allocations: 153.3 kB / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.007364, allocations: 0 / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.007366, allocations: 3.031 kB / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.007374, allocations: 0 / 483.3 MB, free: 10.38 MB / 410.7 MB 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.0007977/0.008171, allocations: 436.7 kB / 483.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.008231, allocations: 10 kB / 483.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.008436, allocations: 25.75 kB / 483.8 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.00856, allocations: 122.2 kB / 483.9 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.008585, allocations: 3.562 kB / 483.9 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.008623, allocations: 11.94 kB / 483.9 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.0089, allocations: 64.44 kB / 484 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.008915, allocations: 1.312 kB / 484 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.00893, allocations: 1 kB / 484 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.008939, allocations: 6.281 kB / 484 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.009176, allocations: 40.86 kB / 484 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.01004, allocations: 323.8 kB / 484.4 MB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.01026, allocations: 66.25 kB / 484.4 MB, free: 25.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.01039, allocations: 31.2 kB / 484.5 MB, free: 25.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.01042, allocations: 1.094 kB / 484.5 MB, free: 25.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.01066, allocations: 91.2 kB / 484.5 MB, free: 25.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/0.01066, allocations: 1.094 kB / 484.5 MB, free: 25.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006188/0.01128, allocations: 140 kB / 484.7 MB, free: 25.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.01131, allocations: 56.84 kB / 484.7 MB, free: 25.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.0115, allocations: 194.2 kB / 484.9 MB, free: 25.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.01153, allocations: 32.73 kB / 485 MB, free: 24.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01165, allocations: 143.1 kB / 485.1 MB, free: 24.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.01169, allocations: 23.62 kB / 485.1 MB, free: 24.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.01182, allocations: 48.23 kB / 485.2 MB, free: 24.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003167/0.01214, allocations: 0.495 MB / 485.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.01239, allocations: 80.8 kB / 485.7 MB, free: 24.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.01266, allocations: 139.5 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.01304, allocations: 168.7 kB / 486 MB, free: 24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01305, allocations: 1.281 kB / 486 MB, free: 24 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000734/0.01378, allocations: 257.7 kB / 486.3 MB, free: 23.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.01382, allocations: 36.95 kB / 486.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.01383, allocations: 2.219 kB / 486.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.01385, allocations: 2.281 kB / 486.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.01401, allocations: 14.66 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.01402, allocations: 7.219 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.01431, allocations: 31.23 kB / 486.4 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.01435, allocations: 7.625 kB / 486.4 MB, free: 23.81 MB / 426.7 MB 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.0001736/0.01452, allocations: 168.4 kB / 486.6 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.01456, allocations: 20.84 kB / 486.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.01495, allocations: 113.7 kB / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.01495, allocations: 1.562 kB / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01496, allocations: 4 kB / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01496, allocations: 0 / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.01549, allocations: 365.9 kB / 487.1 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.0155, allocations: 1.281 kB / 487.1 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.329e-05/0.01558, allocations: 12.61 kB / 487.1 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01558, allocations: 2.688 kB / 487.1 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01559, allocations: 1.406 kB / 487.1 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.0156, allocations: 0 / 487.1 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.0156, allocations: 1.406 kB / 487.1 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.01607, allocations: 263.2 kB / 487.3 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.01608, allocations: 14.73 kB / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.01611, allocations: 1.188 kB / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.01624, allocations: 5.906 kB / 487.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.0163, allocations: 7.109 kB / 487.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.01631, allocations: 0 / 487.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.01646, allocations: 140.7 kB / 487.5 MB, free: 22.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.01646, allocations: 0 / 487.5 MB, free: 22.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005095/0.01697, allocations: 24.39 kB / 487.5 MB, free: 22.89 MB / 426.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 ($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.0001941/0.01716, allocations: 110.6 kB / 487.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005783/0.01774, allocations: 214.5 kB / 487.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01775, allocations: 0 / 487.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.01792, allocations: 49.22 kB / 487.9 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.01842, allocations: 17.61 kB / 487.9 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.01893, allocations: 176.8 kB / 488.1 MB, free: 22.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.036e-05/0.019, allocations: 73.86 kB / 488.1 MB, free: 22.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.01905, allocations: 6.938 kB / 488.2 MB, free: 22.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.01909, allocations: 13.09 kB / 488.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01909, allocations: 0.9062 kB / 488.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of Templates: time 0.007334/0.02643, allocations: 1.57 MB / 489.7 MB, free: 22.3 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.704689607024193]