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.344/1.344, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 185 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008764/0.0008764, allocations: 82.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006383, allocations: 8.781 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3008, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.4929, allocations: 131.3 MB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4932, allocations: 71.95 kB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001427/0.4946, allocations: 0.5631 MB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4946, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.4947, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 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.0005037/0.4952, allocations: 351.5 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.299e-05/0.4953, allocations: 8.031 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/0.4953, allocations: 38.5 kB / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.4954, allocations: 0 / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.4955, allocations: 171 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4956, allocations: 4 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.4956, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.4957, allocations: 37.7 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4957, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4957, allocations: 7.922 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4957, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.4958, allocations: 7.938 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.496, allocations: 157.6 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.367e-05/0.4961, allocations: 30.59 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4961, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.4963, allocations: 59.38 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.4963, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001906/0.4965, allocations: 57.62 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.4965, allocations: 51.41 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.4966, allocations: 93 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.4967, allocations: 29.7 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.4967, allocations: 84.12 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.4967, allocations: 7.906 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.4968, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4969, allocations: 314.8 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.497, allocations: 4 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.497, allocations: 25.7 kB / 1.03 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.497, allocations: 8.422 kB / 1.03 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.497, allocations: 4 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.4972, allocations: 57.61 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4972, allocations: 4 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4972, allocations: 0 / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4972, allocations: 4 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.4973, allocations: 0 / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4973, allocations: 4 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.4974, allocations: 7.984 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.4974, allocations: 3.938 kB / 1.031 GB, free: 9.879 MB / 0.6823 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 () * Number of clocked 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 9.974e-05/0.4975, allocations: 118.5 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.4975, allocations: 7.938 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.4976, allocations: 3.5 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4976, allocations: 4 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4976, allocations: 0 / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.4976, allocations: 0 / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.4977, allocations: 157.7 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4977, allocations: 3.953 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-06/0.4978, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4978, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4978, allocations: 7.938 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4978, allocations: 8 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4978, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.4979, allocations: 76.97 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.498, allocations: 85.06 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.498, allocations: 0 / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.4981, allocations: 7.984 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.4981, allocations: 4 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4981, allocations: 7.984 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.4982, allocations: 83.28 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4982, allocations: 0 / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002154/0.4984, allocations: 4 kB / 1.031 GB, free: 9.211 MB / 0.6823 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 () * Number of clocked 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.0005013/0.4989, allocations: 0.6053 MB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.499, allocations: 27.92 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4991, allocations: 0 / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.4991, allocations: 12 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.4993, allocations: 11.92 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/0.5001, allocations: 0.5237 MB / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.5004, allocations: 0.677 MB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.5004, allocations: 4.25 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.5005, allocations: 7.438 kB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of SimCode: time 4.4e-07/0.5005, allocations: 0 / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.5123, allocations: 1.113 MB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.5126, allocations: 201.9 kB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.187, allocations: 0 / 1.034 GB, free: 6.051 MB / 0.6823 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)