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.0006834/0.0006834, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00095/0.001633, allocations: 447.8 kB / 10.34 MB, free: 352 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.0006947/0.0006947, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008964/0.001591, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.8904/0.8904, allocations: 177.1 MB / 189.6 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1503/1.041, allocations: 53.65 MB / 243.2 MB, free: 2.34 MB / 234.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.642/0.642, allocations: 119.1 MB / 363.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06648/0.7085, allocations: 37.86 MB / 400.9 MB, free: 15.3 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.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 1.563e-06/1.563e-06, allocations: 3.938 kB / 402.2 MB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.288e-05, allocations: 5.266 kB / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001277/0.00129, allocations: 0.9759 MB / 403.2 MB, free: 13.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.002462, allocations: 1.489 MB / 404.7 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.002509, allocations: 0 / 404.7 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.002539, allocations: 19.73 kB / 404.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.002619, allocations: 63.5 kB / 404.8 MB, free: 11.44 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.003168, allocations: 419.2 kB / 405.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.003534, allocations: 499 kB / 405.7 MB, free: 10.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.003618, allocations: 34.53 kB / 405.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.003843, allocations: 309.4 kB / 406 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.003988, allocations: 123.7 kB / 406.1 MB, free: 10.08 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.004034, allocations: 48 kB / 406.2 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.004127, allocations: 67.97 kB / 406.2 MB, free: 9.965 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.004152, allocations: 27.88 kB / 406.3 MB, free: 9.938 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.004242, allocations: 103.9 kB / 406.4 MB, free: 9.836 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.004485, allocations: 271.4 kB / 406.6 MB, free: 9.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.0045, allocations: 3.938 kB / 406.6 MB, free: 9.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004501, allocations: 4 kB / 406.6 MB, free: 9.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.004516, allocations: 0 / 406.6 MB, free: 9.562 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009176/0.005434, allocations: 0.5802 MB / 407.2 MB, free: 8.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.005468, allocations: 11.89 kB / 407.2 MB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.005523, allocations: 32.91 kB / 407.3 MB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.005635, allocations: 149 kB / 407.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.005662, allocations: 20.36 kB / 407.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.005692, allocations: 20.38 kB / 407.4 MB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.005814, allocations: 122.2 kB / 407.6 MB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005822, allocations: 192 / 407.6 MB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.005833, allocations: 4.375 kB / 407.6 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.00584, allocations: 4.375 kB / 407.6 MB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.00589, allocations: 27.86 kB / 407.6 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.006424, allocations: 0.5279 MB / 408.1 MB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.329e-05/0.006507, allocations: 94.41 kB / 408.2 MB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.006535, allocations: 27.5 kB / 408.2 MB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.006544, allocations: 11.88 kB / 408.3 MB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.006694, allocations: 162.6 kB / 408.4 MB, free: 7.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.006695, allocations: 0 / 408.4 MB, free: 7.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001831/0.006878, allocations: 133.5 kB / 408.5 MB, free: 7.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.00693, allocations: 140.5 kB / 408.7 MB, free: 7.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.007045, allocations: 217 kB / 408.9 MB, free: 7.055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.007075, allocations: 41.64 kB / 408.9 MB, free: 7.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.007135, allocations: 116.5 kB / 409 MB, free: 6.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.007158, allocations: 39.72 kB / 409.1 MB, free: 6.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.109e-05/0.007249, allocations: 85.58 kB / 409.2 MB, free: 6.762 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.007321, allocations: 334.8 kB / 409.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.007459, allocations: 207 kB / 409.7 MB, free: 6.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.007613, allocations: 285.5 kB / 410 MB, free: 5.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.0078, allocations: 316.8 kB / 410.3 MB, free: 5.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007802, allocations: 0 / 410.3 MB, free: 5.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003462/0.008148, allocations: 0.5223 MB / 410.8 MB, free: 4.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/0.008212, allocations: 130.8 kB / 410.9 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.008218, allocations: 4 kB / 410.9 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.008229, allocations: 7.984 kB / 410.9 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.008283, allocations: 11.94 kB / 411 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.008287, allocations: 4 kB / 411 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.008516, allocations: 88.06 kB / 411.1 MB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.008544, allocations: 23.97 kB / 411.1 MB, free: 4.617 MB / 394.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 8.324e-05/0.008627, allocations: 133.8 kB / 411.2 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.008649, allocations: 23.92 kB / 411.2 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.00868, allocations: 21.33 kB / 411.2 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.008683, allocations: 8 kB / 411.3 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.008685, allocations: 0 / 411.3 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.008689, allocations: 4 kB / 411.3 MB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.00879, allocations: 113.8 kB / 411.4 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.008792, allocations: 7.938 kB / 411.4 MB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.008814, allocations: 15.92 kB / 411.4 MB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.008835, allocations: 27.72 kB / 411.4 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008837, allocations: 4 kB / 411.4 MB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.008843, allocations: 0 / 411.4 MB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.008846, allocations: 7.984 kB / 411.4 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.008847, allocations: 4 kB / 411.4 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.008956, allocations: 143.9 kB / 411.6 MB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.008973, allocations: 11.94 kB / 411.6 MB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.681e-05/0.009, allocations: 3.984 kB / 411.6 MB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.00903, allocations: 15.98 kB / 411.6 MB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.009036, allocations: 7.984 kB / 411.6 MB, free: 4.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.772e-05/0.009084, allocations: 70.78 kB / 411.7 MB, free: 3.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009084, allocations: 0 / 411.7 MB, free: 3.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.009261, allocations: 67.94 kB / 411.8 MB, free: 3.883 MB / 394.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 9.723e-05/0.009358, allocations: 96.58 kB / 411.8 MB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.009676, allocations: 0.5247 MB / 412.4 MB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.00968, allocations: 0 / 412.4 MB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.009722, allocations: 52.83 kB / 412.4 MB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.009919, allocations: 76.94 kB / 412.5 MB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.01044, allocations: 335.9 kB / 412.8 MB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.01048, allocations: 75.98 kB / 412.9 MB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.027e-05/0.01052, allocations: 17.64 kB / 412.9 MB, free: 2.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.01069, allocations: 123.3 kB / 413 MB, free: 2.445 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01069, allocations: 0 / 413 MB, free: 2.445 MB / 394.7 MB Notification: Performance of Templates: time 0.006401/0.01709, allocations: 5.701 MB / 418.7 MB, free: 12.89 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.323070716112852]