Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.802/1.802, allocations: 287.4 MB / 303.2 MB, free: 8.195 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.001123/0.001124, allocations: 183.4 kB / 371.8 MB, free: 10.81 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.866/1.866, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008726/0.0008727, allocations: 92.36 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004282, allocations: 12.62 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2994, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001105/0.3005, allocations: 0.8481 MB / 0.9801 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3027, allocations: 2.135 MB / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.3028, allocations: 4 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.3028, allocations: 11.81 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.303, allocations: 75.39 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.3054, allocations: 1.269 MB / 0.9835 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006372/0.3061, allocations: 0.9355 MB / 0.9845 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.896e-05/0.3062, allocations: 28.73 kB / 0.9845 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.3065, allocations: 427.2 kB / 0.9849 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.3067, allocations: 323.1 kB / 0.9852 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3069, allocations: 60 kB / 0.9853 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.307, allocations: 71.98 kB / 0.9853 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.3071, allocations: 59.75 kB / 0.9854 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3072, allocations: 121.6 kB / 0.9855 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.3077, allocations: 0.6625 MB / 0.9861 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3077, allocations: 0 / 0.9861 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3077, allocations: 0 / 0.9861 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3078, allocations: 0 / 0.9861 GB, free: 21.16 MB / 0.6198 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.000792/0.3086, allocations: 0.9964 MB / 0.9871 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3086, allocations: 12.03 kB / 0.9871 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.3088, allocations: 64.56 kB / 0.9872 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3089, allocations: 224.4 kB / 0.9874 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.3089, allocations: 36.36 kB / 0.9874 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3091, allocations: 76.3 kB / 0.9875 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.3093, allocations: 207 kB / 0.9877 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3093, allocations: 192 / 0.9877 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.3093, allocations: 11.88 kB / 0.9877 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3094, allocations: 4 kB / 0.9877 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.304e-05/0.3095, allocations: 71.77 kB / 0.9878 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.3101, allocations: 0.8453 MB / 0.9886 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.3103, allocations: 331.2 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3104, allocations: 140.8 kB / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3104, allocations: 8 kB / 0.9891 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/0.3109, allocations: 466.6 kB / 0.9895 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.884e-06/0.3109, allocations: 0 / 0.9895 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.0007971/0.3117, allocations: 0.5605 MB / 0.9901 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.3118, allocations: 435.2 kB / 0.9905 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.312, allocations: 296.3 kB / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/0.3121, allocations: 65.7 kB / 0.9908 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3123, allocations: 165.2 kB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.3124, allocations: 94.84 kB / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.87e-05/0.3125, allocations: 36 kB / 0.9911 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.3125, allocations: 350.8 kB / 0.9915 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.3132, allocations: 425.3 kB / 0.9919 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.3141, allocations: 0.695 MB / 0.9925 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009941/0.3151, allocations: 1.188 MB / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3151, allocations: 4 kB / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002418/0.3175, allocations: 1.725 MB / 0.9954 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.3177, allocations: 481.4 kB / 0.9958 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.3178, allocations: 8 kB / 0.9959 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.3178, allocations: 12 kB / 0.9959 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.3179, allocations: 31.86 kB / 0.9959 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.3179, allocations: 23.92 kB / 0.9959 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.3204, allocations: 0.5656 MB / 0.9965 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.3205, allocations: 95.92 kB / 0.9966 GB, free: 9.238 MB / 0.6198 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 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004343/0.321, allocations: 221.5 kB / 0.9968 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.3211, allocations: 47.45 kB / 0.9968 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.3212, allocations: 38.14 kB / 0.9969 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3212, allocations: 4 kB / 0.9969 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3212, allocations: 8 kB / 0.9969 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.3213, allocations: 116.6 kB / 0.997 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.3214, allocations: 15.98 kB / 0.997 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3215, allocations: 8 kB / 0.997 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3216, allocations: 63.81 kB / 0.9971 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009668/0.3226, allocations: 1.561 MB / 0.9986 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007316/0.3234, allocations: 1.629 MB / 1 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001767/0.3235, allocations: 155.8 kB / 1 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00013/0.3237, allocations: 183.1 kB / 1 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of Backend: time 8.52e-07/0.3237, allocations: 4 kB / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002925/0.3266, allocations: 1.729 MB / 1.002 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001488/0.3281, allocations: 1.042 MB / 1.003 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of Templates: time 0.0176/0.3457, allocations: 11 MB / 1.014 GB, free: 7.246 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)