Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.843/1.843, allocations: 292.3 MB / 308.1 MB, free: 4.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 190.3 kB / 376.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 99.53 kB / 0.748 GB, free: 61.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3592, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002928/0.3622, allocations: 1.233 MB / 0.9835 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.3654, allocations: 2.357 MB / 0.9858 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.3655, allocations: 0 / 0.9858 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.358e-05/0.3655, allocations: 11.81 kB / 0.9858 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.3657, allocations: 79.39 kB / 0.9858 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.3686, allocations: 1.299 MB / 0.9871 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.3696, allocations: 1.061 MB / 0.9881 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.124e-05/0.3697, allocations: 20.69 kB / 0.9882 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.3701, allocations: 431.2 kB / 0.9886 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.3705, allocations: 331.1 kB / 0.9889 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.3707, allocations: 60 kB / 0.9889 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.3709, allocations: 71.98 kB / 0.989 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.371, allocations: 55.75 kB / 0.9891 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.3714, allocations: 351 kB / 0.9894 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009519/0.3724, allocations: 0.9196 MB / 0.9903 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3724, allocations: 0 / 0.9903 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.026e-06/0.3724, allocations: 3.984 kB / 0.9903 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3724, allocations: 0 / 0.9903 GB, free: 2.094 MB / 0.7136 GB 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.00152/0.3739, allocations: 1.172 MB / 0.9915 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.374, allocations: 12.03 kB / 0.9915 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.3742, allocations: 68.55 kB / 0.9915 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.3744, allocations: 224.4 kB / 0.9917 GB, free: 448 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.3745, allocations: 36.38 kB / 0.9918 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.3746, allocations: 68.36 kB / 0.9918 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3749, allocations: 210.9 kB / 0.992 GB, free: 80 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.375, allocations: 192 / 0.992 GB, free: 80 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.375, allocations: 11.92 kB / 0.9921 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.375, allocations: 4 kB / 0.9921 GB, free: 64 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3751, allocations: 75.77 kB / 0.9921 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008873/0.376, allocations: 0.8405 MB / 0.993 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3764, allocations: 331.2 kB / 0.9933 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.3765, allocations: 132.9 kB / 0.9934 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3766, allocations: 15.92 kB / 0.9934 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007184/0.3773, allocations: 462.6 kB / 0.9938 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.853e-06/0.3773, allocations: 0 / 0.9938 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0009885/0.3783, allocations: 0.5695 MB / 0.9944 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002618/0.3786, allocations: 435.2 kB / 0.9948 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.3789, allocations: 296.3 kB / 0.9951 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.379, allocations: 65.7 kB / 0.9952 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.3792, allocations: 157.3 kB / 0.9953 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.3793, allocations: 94.83 kB / 0.9954 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.3797, allocations: 278.1 kB / 0.9957 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3799, allocations: 354.8 kB / 0.996 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008325/0.3808, allocations: 421.3 kB / 0.9964 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.3819, allocations: 0.6989 MB / 0.9971 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.3833, allocations: 1.195 MB / 0.9983 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3833, allocations: 4 kB / 0.9983 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002716/0.386, allocations: 1.716 MB / 0.9999 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.3864, allocations: 485.4 kB / 1 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.3864, allocations: 8 kB / 1 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.3864, allocations: 20.91 kB / 1 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.3865, allocations: 31.86 kB / 1 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/0.3865, allocations: 19.92 kB / 1 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.3889, allocations: 415 kB / 1.001 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.3891, allocations: 103.9 kB / 1.001 GB, free: 5.895 MB / 0.7292 GB 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.0004048/0.3895, allocations: 225.5 kB / 1.001 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/0.3896, allocations: 47.41 kB / 1.001 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.959e-05/0.3897, allocations: 38.14 kB / 1.001 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/0.3897, allocations: 8 kB / 1.001 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.3897, allocations: 4 kB / 1.001 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3897, allocations: 11.98 kB / 1.001 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.3902, allocations: 325.3 kB / 1.002 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3902, allocations: 7.938 kB / 1.002 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.3902, allocations: 23.92 kB / 1.002 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.3902, allocations: 11.94 kB / 1.002 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.3903, allocations: 19.98 kB / 1.002 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3903, allocations: 4 kB / 1.002 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.3903, allocations: 11.92 kB / 1.002 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.3915, allocations: 1.233 MB / 1.003 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.3916, allocations: 112.6 kB / 1.003 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.3917, allocations: 19.92 kB / 1.003 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3918, allocations: 15.98 kB / 1.003 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.3919, allocations: 55.88 kB / 1.003 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.392, allocations: 27.98 kB / 1.003 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001822/0.3922, allocations: 191.1 kB / 1.003 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3922, allocations: 0 / 1.003 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007396/0.3929, allocations: 200 kB / 1.003 GB, free: 3.148 MB / 0.7292 GB 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.0002856/0.3932, allocations: 135 kB / 1.004 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.3954, allocations: 1.747 MB / 1.005 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3954, allocations: 0 / 1.005 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.3957, allocations: 179.7 kB / 1.005 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007835/0.3965, allocations: 123.7 kB / 1.006 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3979, allocations: 0.938 MB / 1.007 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.3984, allocations: 0.7878 MB / 1.007 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.3985, allocations: 42.97 kB / 1.007 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.3986, allocations: 39.42 kB / 1.007 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.3986, allocations: 4 kB / 1.007 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.0216/0.4202, allocations: 11.82 MB / 1.019 GB, free: 3.168 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)