Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 182.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000859/0.0008592, allocations: 89.27 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.005e-05, allocations: 4 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2071, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7184/0.9255, allocations: 131.2 MB / 1.02 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.9257, allocations: 76 kB / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001354/0.9271, allocations: 0.571 MB / 1.021 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9271, allocations: 0 / 1.021 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.9271, allocations: 0 / 1.021 GB, free: 2.941 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003342/0.9275, allocations: 328.6 kB / 1.021 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9275, allocations: 12.03 kB / 1.021 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.9276, allocations: 34.56 kB / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.9276, allocations: 0 / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.9277, allocations: 171 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.9278, allocations: 0 / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.9278, allocations: 3 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.9279, allocations: 37.62 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.9279, allocations: 0 / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.9279, allocations: 4 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9279, allocations: 0 / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.9279, allocations: 7.062 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.9281, allocations: 165.2 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.557e-05/0.9282, allocations: 21.7 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.9282, allocations: 12.17 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.9282, allocations: 0 / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.9283, allocations: 58.77 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.9283, allocations: 6.625 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001412/0.9285, allocations: 52.91 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.9286, allocations: 51.41 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.944e-05/0.9286, allocations: 92.31 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.9287, allocations: 25.7 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.9287, allocations: 87.27 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.9287, allocations: 0 / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.9287, allocations: 0 / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.9289, allocations: 322 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.9289, allocations: 8 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.9289, allocations: 24.72 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.137e-05/0.9289, allocations: 6.875 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.929, allocations: 0 / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.683e-05/0.929, allocations: 52.66 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.9291, allocations: 8 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9291, allocations: 0 / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9291, allocations: 7.969 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.9292, allocations: 0 / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.9292, allocations: 4 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.9292, allocations: 11.98 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.9293, allocations: 0.7031 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 7.57e-05/0.9293, allocations: 111.7 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.9294, allocations: 0 / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.9294, allocations: 6.688 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9294, allocations: 7.938 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9294, allocations: 4 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.9294, allocations: 3.984 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.9296, allocations: 165.2 kB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9296, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/0.9296, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9296, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.9296, allocations: 4 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9296, allocations: 0 / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9296, allocations: 0 / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.9297, allocations: 75.69 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.9298, allocations: 92.95 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.9298, allocations: 0 / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.9299, allocations: 4 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.9299, allocations: 8.031 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.9299, allocations: 3.984 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.93, allocations: 82.91 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.93, allocations: 0 / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001775/0.9302, allocations: 8 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000401/0.9306, allocations: 0.6142 MB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.529e-05/0.9307, allocations: 19.56 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9307, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.9307, allocations: 4.062 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.9309, allocations: 11.19 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.9312, allocations: 102.5 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.9315, allocations: 0.6809 MB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.9315, allocations: 3.938 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.9316, allocations: 15.19 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/0.9316, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.9426, allocations: 1.118 MB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.9428, allocations: 174.1 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.492, allocations: 3.938 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)