Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.683/1.683, allocations: 288.2 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.001152/0.001152, allocations: 188 kB / 371.8 MB, free: 10.11 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.773/1.773, allocations: 205.4 MB / 0.6305 GB, free: 9.961 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.0009876/0.0009878, allocations: 101.1 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 15.7 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 115.3 MB / 0.9795 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7271/0.9786, allocations: 138.3 MB / 1.115 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.9789, allocations: 75.52 kB / 1.115 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04534/1.024, allocations: 17.35 MB / 1.132 GB, free: 29.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.695e-06/1.024, allocations: 0 / 1.132 GB, free: 29.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.137e-05/1.024, allocations: 3.875 kB / 1.132 GB, free: 29.19 MB / 0.698 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.001081/1.025, allocations: 1.003 MB / 1.133 GB, free: 28.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.025, allocations: 11.7 kB / 1.133 GB, free: 28.22 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/1.026, allocations: 45.73 kB / 1.133 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/1.026, allocations: 69.73 kB / 1.133 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/1.026, allocations: 214 kB / 1.133 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/1.026, allocations: 45.73 kB / 1.133 GB, free: 27.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/1.026, allocations: 64.58 kB / 1.133 GB, free: 27.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/1.026, allocations: 212.6 kB / 1.133 GB, free: 27.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.026, allocations: 3.969 kB / 1.133 GB, free: 27.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/1.026, allocations: 3.984 kB / 1.133 GB, free: 27.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.026, allocations: 3.875 kB / 1.133 GB, free: 27.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/1.026, allocations: 64.25 kB / 1.133 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007324/1.027, allocations: 0.8499 MB / 1.134 GB, free: 27.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/1.027, allocations: 320.2 kB / 1.134 GB, free: 26.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/1.027, allocations: 11.78 kB / 1.134 GB, free: 26.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/1.028, allocations: 458.3 kB / 1.135 GB, free: 26.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 1.864e-06/1.028, allocations: 4 kB / 1.135 GB, free: 26.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.0008766/1.029, allocations: 0.5627 MB / 1.135 GB, free: 26.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/1.029, allocations: 437.8 kB / 1.136 GB, free: 25.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/1.029, allocations: 261.1 kB / 1.136 GB, free: 25.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/1.029, allocations: 63.58 kB / 1.136 GB, free: 25.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/1.03, allocations: 168.6 kB / 1.136 GB, free: 25.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/1.03, allocations: 95.92 kB / 1.136 GB, free: 25.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/1.03, allocations: 34.28 kB / 1.136 GB, free: 25.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.03, allocations: 347.6 kB / 1.137 GB, free: 25.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/1.031, allocations: 422.9 kB / 1.137 GB, free: 24.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/1.031, allocations: 0.6941 MB / 1.138 GB, free: 24.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/1.032, allocations: 0.8321 MB / 1.139 GB, free: 24.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.032, allocations: 0 / 1.139 GB, free: 24.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002351/1.034, allocations: 1.699 MB / 1.14 GB, free: 23.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/1.035, allocations: 478.3 kB / 1.141 GB, free: 22.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.035, allocations: 11.47 kB / 1.141 GB, free: 22.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/1.035, allocations: 18.88 kB / 1.141 GB, free: 22.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/1.035, allocations: 34.69 kB / 1.141 GB, free: 22.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/1.035, allocations: 30.64 kB / 1.141 GB, free: 22.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/1.037, allocations: 0.5421 MB / 1.141 GB, free: 22.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/1.037, allocations: 98.73 kB / 1.142 GB, free: 22.54 MB / 0.698 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.0003847/1.038, allocations: 220.5 kB / 1.142 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/1.038, allocations: 42.34 kB / 1.142 GB, free: 22.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.881e-05/1.038, allocations: 44.2 kB / 1.142 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.038, allocations: 7.688 kB / 1.142 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.038, allocations: 3.812 kB / 1.142 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.038, allocations: 7.828 kB / 1.142 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/1.038, allocations: 325.5 kB / 1.142 GB, free: 22.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.038, allocations: 3.953 kB / 1.142 GB, free: 22.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/1.038, allocations: 23.17 kB / 1.142 GB, free: 22.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/1.038, allocations: 7.312 kB / 1.142 GB, free: 22.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/1.038, allocations: 19.17 kB / 1.142 GB, free: 22.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.038, allocations: 11.91 kB / 1.142 GB, free: 22.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.038, allocations: 3.875 kB / 1.142 GB, free: 22.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/1.039, allocations: 0.6805 MB / 1.143 GB, free: 21.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/1.039, allocations: 104.4 kB / 1.143 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/1.039, allocations: 15.55 kB / 1.143 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/1.039, allocations: 18.45 kB / 1.143 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/1.039, allocations: 59.11 kB / 1.143 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/1.039, allocations: 26.52 kB / 1.143 GB, free: 21.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001477/1.039, allocations: 195.4 kB / 1.143 GB, free: 21.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/1.039, allocations: 0 / 1.143 GB, free: 21.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006404/1.04, allocations: 203.6 kB / 1.143 GB, free: 21.32 MB / 0.698 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 (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.001331/1.041, allocations: 2.22 MB / 1.146 GB, free: 19.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001736/1.043, allocations: 1.746 MB / 1.147 GB, free: 18.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.043, allocations: 5.812 kB / 1.147 GB, free: 18.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/1.043, allocations: 174.3 kB / 1.148 GB, free: 18.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/1.044, allocations: 114 kB / 1.148 GB, free: 18.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/1.048, allocations: 7.843 MB / 1.155 GB, free: 10.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/1.048, allocations: 0.7849 MB / 1.156 GB, free: 9.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001545/1.049, allocations: 41.94 kB / 1.156 GB, free: 9.754 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/1.049, allocations: 106.2 kB / 1.156 GB, free: 9.734 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/1.049, allocations: 0 / 1.156 GB, free: 9.734 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/1.076, allocations: 13.6 MB / 1.169 GB, free: 1.047 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/1.076, allocations: 208 kB / 1.17 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.327, allocations: 3.938 kB / 1.17 GB, free: 0.7969 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)