Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 108.3 kB / 16.37 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 189.8 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.975/1.975, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3075, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002659/0.3102, allocations: 0.9844 MB / 0.7858 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.3123, allocations: 1.425 MB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.3124, allocations: 4 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.861e-05/0.3125, allocations: 19.73 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.3127, allocations: 51.58 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3137, allocations: 441.3 kB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5869/0.9006, allocations: 0.5109 MB / 0.7882 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.9008, allocations: 45.38 kB / 0.7882 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.9011, allocations: 181.2 kB / 0.7884 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.9014, allocations: 165.4 kB / 0.7885 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.9015, allocations: 47.38 kB / 0.7886 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.9016, allocations: 65.23 kB / 0.7886 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.9017, allocations: 48.09 kB / 0.7887 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.9018, allocations: 160.3 kB / 0.7888 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.9023, allocations: 497.1 kB / 0.7893 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9023, allocations: 5.969 kB / 0.7893 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9024, allocations: 2.719 kB / 0.7893 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.9024, allocations: 0 / 0.7893 GB, free: 46.61 MB / 0.6544 GB 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.0007972/0.9032, allocations: 0.6322 MB / 0.7899 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.9032, allocations: 10.41 kB / 0.7899 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.9033, allocations: 31.88 kB / 0.79 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.9035, allocations: 224.1 kB / 0.7902 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.9036, allocations: 20.06 kB / 0.7902 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.9037, allocations: 30.09 kB / 0.7902 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.9039, allocations: 116.5 kB / 0.7904 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.9039, allocations: 192 / 0.7904 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.9039, allocations: 3.938 kB / 0.7904 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.9039, allocations: 2.625 kB / 0.7904 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.904, allocations: 58.27 kB / 0.7904 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008755/0.9049, allocations: 0.8707 MB / 0.7913 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.9051, allocations: 121.2 kB / 0.7914 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.9051, allocations: 54.02 kB / 0.7914 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.9052, allocations: 4.031 kB / 0.7914 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.9055, allocations: 172.2 kB / 0.7916 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.9056, allocations: 2.625 kB / 0.7916 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0004486/0.906, allocations: 230.2 kB / 0.7918 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.9061, allocations: 135.1 kB / 0.792 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.9063, allocations: 239.6 kB / 0.7922 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.9064, allocations: 39.02 kB / 0.7922 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.9065, allocations: 130.7 kB / 0.7923 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.9065, allocations: 31 kB / 0.7924 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.9067, allocations: 95.33 kB / 0.7925 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.9068, allocations: 333.9 kB / 0.7928 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.9071, allocations: 146.3 kB / 0.7929 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.9074, allocations: 233.3 kB / 0.7931 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.9078, allocations: 365.6 kB / 0.7935 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9078, allocations: 3.5 kB / 0.7935 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007822/0.9086, allocations: 0.5473 MB / 0.794 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/0.9087, allocations: 139.7 kB / 0.7942 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9087, allocations: 4.688 kB / 0.7942 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.9088, allocations: 5.25 kB / 0.7942 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.9088, allocations: 13.66 kB / 0.7942 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.9089, allocations: 5.25 kB / 0.7942 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/0.9095, allocations: 112.2 kB / 0.7943 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.9096, allocations: 32.31 kB / 0.7943 GB, free: 43.66 MB / 0.6544 GB 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.0001547/0.9097, allocations: 148.9 kB / 0.7945 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.9098, allocations: 22.06 kB / 0.7945 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.9098, allocations: 18.78 kB / 0.7945 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.9098, allocations: 6.328 kB / 0.7945 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9099, allocations: 2.062 kB / 0.7945 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.9099, allocations: 102.9 kB / 0.7946 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.9099, allocations: 7.391 kB / 0.7946 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.91, allocations: 9.422 kB / 0.7946 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.9101, allocations: 13.62 kB / 0.7946 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003098/0.9104, allocations: 483.1 kB / 0.7951 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003043/0.9107, allocations: 0.5495 MB / 0.7956 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.998e-05/0.9108, allocations: 64.52 kB / 0.7957 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000117/0.9109, allocations: 174.8 kB / 0.7959 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of Backend: time 7.41e-07/0.911, allocations: 0 / 0.7959 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.9121, allocations: 0.5628 MB / 0.7964 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000908/0.913, allocations: 0.793 MB / 0.7972 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.01148/0.9245, allocations: 4.675 MB / 0.8018 GB, free: 41.37 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)