Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.0008722/0.0008722, allocations: 72.95 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.00099/0.00099, allocations: 169 kB / 24.14 MB, free: 356 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 0.9938/0.9938, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.6796/0.6796, allocations: 115 MB / 376 MB, free: 7.465 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 428.7 MB, free: 2.781 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.583e-05, allocations: 6.312 kB / 428.7 MB, free: 2.773 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002602/0.002628, allocations: 0.9214 MB / 429.7 MB, free: 1.852 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.004697, allocations: 1.497 MB / 431.2 MB, free: 348 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.004782, allocations: 0 / 431.2 MB, free: 348 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.004815, allocations: 15.8 kB / 431.2 MB, free: 332 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.004968, allocations: 63.5 kB / 431.2 MB, free: 268 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.00595, allocations: 435 kB / 431.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.006569, allocations: 0.4951 MB / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.006674, allocations: 30.59 kB / 432.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.007146, allocations: 263.6 kB / 432.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.007397, allocations: 135.7 kB / 432.6 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.419e-05/0.007482, allocations: 52 kB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.007586, allocations: 59.98 kB / 432.7 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.007624, allocations: 35.8 kB / 432.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.007769, allocations: 135.8 kB / 432.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.008185, allocations: 347 kB / 433.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.008188, allocations: 4 kB / 433.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.008189, allocations: 0 / 433.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.008195, allocations: 0 / 433.2 MB, free: 14.3 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006258/0.008821, allocations: 0.5221 MB / 433.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.00885, allocations: 8.031 kB / 433.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.008917, allocations: 32.91 kB / 433.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.009058, allocations: 164.8 kB / 433.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.009087, allocations: 16.38 kB / 433.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.009135, allocations: 16.38 kB / 433.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.009266, allocations: 114.3 kB / 434.1 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.009272, allocations: 4.188 kB / 434.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.009281, allocations: 384 / 434.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.009287, allocations: 4.375 kB / 434.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.009338, allocations: 27.86 kB / 434.1 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.009964, allocations: 0.524 MB / 434.6 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.01007, allocations: 98.36 kB / 434.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.0101, allocations: 27.5 kB / 434.7 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.01012, allocations: 11.94 kB / 434.7 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.01029, allocations: 162.6 kB / 434.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.01029, allocations: 0 / 434.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.000243/0.01053, allocations: 137.9 kB / 435 MB, free: 12.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.0106, allocations: 136.5 kB / 435.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.01077, allocations: 221 kB / 435.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.01082, allocations: 37.7 kB / 435.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.0109, allocations: 116.5 kB / 435.5 MB, free: 11.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.01094, allocations: 43.7 kB / 435.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.01108, allocations: 81.62 kB / 435.7 MB, free: 11.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.01118, allocations: 342.7 kB / 436 MB, free: 11.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.01139, allocations: 195 kB / 436.2 MB, free: 10.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.01162, allocations: 289 kB / 436.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.01192, allocations: 300.9 kB / 436.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01193, allocations: 4 kB / 436.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005512/0.01248, allocations: 0.5144 MB / 437.3 MB, free: 9.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/0.01256, allocations: 130.8 kB / 437.4 MB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01256, allocations: 0 / 437.4 MB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01258, allocations: 7.984 kB / 437.4 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.01263, allocations: 15.94 kB / 437.4 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.01264, allocations: 4 kB / 437.4 MB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.01299, allocations: 88.06 kB / 437.5 MB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.01304, allocations: 23.97 kB / 437.5 MB, free: 9.434 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001218/0.01316, allocations: 133.6 kB / 437.7 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.01319, allocations: 23.92 kB / 437.7 MB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.01323, allocations: 25.33 kB / 437.7 MB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01324, allocations: 4 kB / 437.7 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01324, allocations: 0 / 437.7 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01324, allocations: 4 kB / 437.7 MB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.0134, allocations: 125.7 kB / 437.9 MB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0134, allocations: 0 / 437.9 MB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.01344, allocations: 11.98 kB / 437.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01344, allocations: 0 / 437.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01345, allocations: 7.938 kB / 437.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01345, allocations: 0 / 437.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01346, allocations: 3.938 kB / 437.9 MB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.01361, allocations: 143.6 kB / 438 MB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.01364, allocations: 15.91 kB / 438 MB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.01367, allocations: 11.94 kB / 438 MB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.973e-05/0.01372, allocations: 3.984 kB / 438.1 MB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.01375, allocations: 11.98 kB / 438.1 MB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.01376, allocations: 7.938 kB / 438.1 MB, free: 8.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.181e-05/0.01384, allocations: 82.7 kB / 438.2 MB, free: 8.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01384, allocations: 0 / 438.2 MB, free: 8.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000324/0.01416, allocations: 71.89 kB / 438.2 MB, free: 8.695 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001352/0.0143, allocations: 92.41 kB / 438.3 MB, free: 8.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.01479, allocations: 0.5134 MB / 438.8 MB, free: 8.004 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.01479, allocations: 0 / 438.8 MB, free: 8.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.01485, allocations: 49.19 kB / 438.9 MB, free: 7.953 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01514, allocations: 76.89 kB / 438.9 MB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.01562, allocations: 332 kB / 439.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.01568, allocations: 75.98 kB / 439.3 MB, free: 7.426 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.01574, allocations: 21.64 kB / 439.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.016, allocations: 119.3 kB / 439.5 MB, free: 7.289 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01601, allocations: 0 / 439.5 MB, free: 7.289 MB / 410.7 MB Notification: Performance of Templates: time 0.009556/0.02556, allocations: 5.47 MB / 445 MB, free: 1.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6159720118157566]