Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.001077/0.001077, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001154/0.001154, allocations: 169 kB / 24.05 MB, free: 452 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.986/0.986, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.6637/0.6637, 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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 482 MB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.568e-05, allocations: 2.812 kB / 482 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001636/0.001662, allocations: 1.098 MB / 483.1 MB, free: 11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.003747, allocations: 2.242 MB / 485.3 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.003855, allocations: 4.188 kB / 485.3 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.949e-05/0.003894, allocations: 22.92 kB / 485.3 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.004057, allocations: 95.73 kB / 485.4 MB, free: 9.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.006091, allocations: 1.341 MB / 486.8 MB, free: 8.641 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.007214, allocations: 1.209 MB / 488 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.00727, allocations: 15.52 kB / 488 MB, free: 8.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006653/0.007936, allocations: 0.6481 MB / 488.7 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.008386, allocations: 367.2 kB / 489 MB, free: 7.723 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002238/0.00861, allocations: 106.2 kB / 489.1 MB, free: 7.723 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.008855, allocations: 118.6 kB / 489.2 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.008907, allocations: 61.75 kB / 489.3 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.009203, allocations: 352.3 kB / 489.6 MB, free: 7.543 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007057/0.009909, allocations: 0.8685 MB / 490.5 MB, free: 7.145 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.009912, allocations: 1.344 kB / 490.5 MB, free: 7.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.009913, allocations: 0 / 490.5 MB, free: 7.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.009918, allocations: 1.219 kB / 490.5 MB, free: 7.145 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008876/0.01081, allocations: 1.2 MB / 491.7 MB, free: 6.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.01084, allocations: 13.2 kB / 491.7 MB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.01098, allocations: 76.45 kB / 491.8 MB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.01108, allocations: 166.3 kB / 492 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.01112, allocations: 41.73 kB / 492 MB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.01122, allocations: 66.27 kB / 492.1 MB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.01137, allocations: 229.8 kB / 492.3 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.01137, allocations: 2.469 kB / 492.3 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.01139, allocations: 7.609 kB / 492.3 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.01139, allocations: 3.812 kB / 492.3 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.01144, allocations: 60.44 kB / 492.4 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.01188, allocations: 0.6028 MB / 493 MB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.01205, allocations: 425.1 kB / 493.4 MB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.01213, allocations: 153.1 kB / 493.5 MB, free: 4.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.01214, allocations: 18.48 kB / 493.5 MB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.01248, allocations: 470.5 kB / 494 MB, free: 4.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 1.473e-06/0.01248, allocations: 0 / 494 MB, free: 4.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.0006537/0.01313, allocations: 0.4953 MB / 494.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.01322, allocations: 435.5 kB / 494.9 MB, free: 3.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.01351, allocations: 341.5 kB / 495.3 MB, free: 19.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.494e-05/0.0136, allocations: 74.86 kB / 495.3 MB, free: 19.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.01375, allocations: 214 kB / 495.5 MB, free: 19.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.01381, allocations: 101.2 kB / 495.6 MB, free: 19.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.01414, allocations: 281.2 kB / 495.9 MB, free: 18.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.01428, allocations: 0.5222 MB / 496.4 MB, free: 18.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.0148, allocations: 0.7312 MB / 497.2 MB, free: 17.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.01542, allocations: 1.15 MB / 498.3 MB, free: 16.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007117/0.01613, allocations: 1.201 MB / 499.5 MB, free: 15.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.01614, allocations: 3.406 kB / 499.5 MB, free: 15.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001784/0.01792, allocations: 2.029 MB / 0.4898 GB, free: 14.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.01811, allocations: 473.6 kB / 0.4902 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.01813, allocations: 10.72 kB / 0.4903 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.01815, allocations: 13.62 kB / 0.4903 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-05/0.01819, allocations: 33.89 kB / 0.4903 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.01821, allocations: 19.44 kB / 0.4903 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/0.01907, allocations: 310.6 kB / 0.4906 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.0192, allocations: 93.56 kB / 0.4907 GB, free: 13.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0002084/0.01941, allocations: 262.6 kB / 0.491 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.01948, allocations: 67.97 kB / 0.491 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.01953, allocations: 36.05 kB / 0.4911 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.01954, allocations: 8.781 kB / 0.4911 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.01955, allocations: 4.844 kB / 0.4911 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.01956, allocations: 10.56 kB / 0.4911 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.01978, allocations: 205.8 kB / 0.4913 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.01978, allocations: 5.781 kB / 0.4913 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.01981, allocations: 21.12 kB / 0.4913 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.01982, allocations: 6.688 kB / 0.4913 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.01984, allocations: 18.72 kB / 0.4913 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.01984, allocations: 14.09 kB / 0.4913 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.01985, allocations: 5.281 kB / 0.4913 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.02035, allocations: 0.5156 MB / 0.4918 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.02039, allocations: 44.2 kB / 0.4919 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.02042, allocations: 15.52 kB / 0.4919 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.02049, allocations: 16.84 kB / 0.4919 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.02057, allocations: 62.83 kB / 0.492 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.02059, allocations: 24.7 kB / 0.492 GB, free: 13.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.02072, allocations: 209.9 kB / 0.4922 GB, free: 13 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02072, allocations: 0 / 0.4922 GB, free: 13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004981/0.02121, allocations: 199.1 kB / 0.4924 GB, free: 12.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0001445/0.02136, allocations: 130.1 kB / 0.4925 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.02275, allocations: 1.889 MB / 0.4944 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.02276, allocations: 1.125 kB / 0.4944 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.02294, allocations: 139 kB / 0.4945 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.0234, allocations: 133.8 kB / 0.4946 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/0.02426, allocations: 0.6398 MB / 0.4952 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.698e-05/0.02435, allocations: 101 kB / 0.4953 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.02446, allocations: 47.83 kB / 0.4954 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/0.02511, allocations: 323.6 kB / 0.4957 GB, free: 10.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02512, allocations: 0 / 0.4957 GB, free: 10.37 MB / 426.7 MB Notification: Performance of Templates: time 0.01664/0.04176, allocations: 14.47 MB / 0.5098 GB, free: 13.9 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.062506512738764]