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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001068/0.001068, allocations: 176.9 kB / 366.7 MB, free: 1.645 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.778/1.778, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.000898/0.000898, allocations: 95.09 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.2e-05, allocations: 8 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7577/0.7577, allocations: 116.3 MB / 0.9734 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2157/0.9734, allocations: 138.6 MB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.9738, allocations: 72.55 kB / 1.109 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05288/1.027, allocations: 17.23 MB / 1.126 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.242e-06/1.027, allocations: 0 / 1.126 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.027, allocations: 4 kB / 1.126 GB, free: 10.26 MB / 0.7292 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.001119/1.028, allocations: 0.9696 MB / 1.127 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/1.028, allocations: 12.03 kB / 1.127 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/1.028, allocations: 63.7 kB / 1.127 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/1.028, allocations: 208.1 kB / 1.127 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/1.028, allocations: 11.98 kB / 1.127 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/1.029, allocations: 63.98 kB / 1.127 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001454/1.029, allocations: 37.56 kB / 1.127 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/1.029, allocations: 205.4 kB / 1.127 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.029, allocations: 3.938 kB / 1.127 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/1.029, allocations: 7.984 kB / 1.127 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/1.029, allocations: 4 kB / 1.127 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009782/1.03, allocations: 0.8138 MB / 1.128 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/1.03, allocations: 311.3 kB / 1.128 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/1.031, allocations: 120.9 kB / 1.128 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/1.031, allocations: 12 kB / 1.128 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005909/1.031, allocations: 437 kB / 1.129 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/1.031, allocations: 0 / 1.129 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0007874/1.032, allocations: 420.8 kB / 1.129 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002523/1.032, allocations: 435.2 kB / 1.13 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/1.033, allocations: 245 kB / 1.13 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/1.033, allocations: 53.7 kB / 1.13 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/1.033, allocations: 165.2 kB / 1.13 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/1.033, allocations: 87 kB / 1.13 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/1.033, allocations: 28 kB / 1.13 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.033, allocations: 350.8 kB / 1.13 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/1.034, allocations: 365.3 kB / 1.131 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009427/1.035, allocations: 0.6342 MB / 1.131 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/1.037, allocations: 0.5 MB / 1.132 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/1.037, allocations: 4 kB / 1.132 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003388/1.04, allocations: 1.282 MB / 1.133 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003449/1.041, allocations: 478.5 kB / 1.134 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.041, allocations: 15.94 kB / 1.134 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-05/1.041, allocations: 16.12 kB / 1.134 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/1.041, allocations: 35.8 kB / 1.134 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.191e-05/1.041, allocations: 23.92 kB / 1.134 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/1.043, allocations: 0.5305 MB / 1.134 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/1.043, allocations: 91.92 kB / 1.134 GB, free: 388 kB / 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 ($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 () * 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.0003266/1.044, allocations: 182 kB / 1.135 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006306/1.044, allocations: 400.7 kB / 1.135 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/1.044, allocations: 51.36 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.77e-05/1.045, allocations: 34.45 kB / 1.135 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.045, allocations: 8 kB / 1.135 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.045, allocations: 6.562 kB / 1.135 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.045, allocations: 8.641 kB / 1.135 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/1.045, allocations: 282 kB / 1.135 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.045, allocations: 7.953 kB / 1.135 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/1.045, allocations: 19.92 kB / 1.135 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/1.045, allocations: 8 kB / 1.135 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/1.045, allocations: 19.98 kB / 1.135 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.045, allocations: 7.984 kB / 1.135 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.045, allocations: 4 kB / 1.135 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/1.046, allocations: 0.6454 MB / 1.136 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/1.046, allocations: 108.7 kB / 1.136 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/1.046, allocations: 7.984 kB / 1.136 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/1.046, allocations: 11.98 kB / 1.136 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/1.046, allocations: 59.89 kB / 1.136 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/1.046, allocations: 31.98 kB / 1.136 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001499/1.046, allocations: 172.6 kB / 1.136 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.046, allocations: 0 / 1.136 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006704/1.047, allocations: 192 kB / 1.137 GB, free: 13.94 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/1.049, allocations: 2.172 MB / 1.139 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001896/1.051, allocations: 1.647 MB / 1.14 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.051, allocations: 2.438 kB / 1.14 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/1.051, allocations: 164.6 kB / 1.14 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/1.052, allocations: 101.4 kB / 1.141 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/1.053, allocations: 0.5599 MB / 1.141 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/1.053, allocations: 0.7839 MB / 1.142 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000123/1.053, allocations: 43.28 kB / 1.142 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/1.054, allocations: 103.4 kB / 1.142 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.054, allocations: 3.938 kB / 1.142 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/1.094, allocations: 12.65 MB / 1.154 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.095, allocations: 148.7 kB / 1.154 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.452, allocations: 0 / 1.154 GB, free: 11.45 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)