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.5/1.5, allocations: 252 MB / 267.3 MB, free: 10.87 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.001026/0.001026, allocations: 179.5 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0009122/0.000912, allocations: 89.67 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004456, allocations: 10.38 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2884, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001671/0.2901, allocations: 1.021 MB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000466/0.2906, allocations: 173.7 kB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.2906, allocations: 0 / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.2907, allocations: 0 / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.2908, allocations: 7.922 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.291, allocations: 8 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.744e-05/0.291, allocations: 23.92 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.231e-05/0.2911, allocations: 12 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.2912, allocations: 11.86 kB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.2912, allocations: 11.98 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2913, allocations: 0 / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.2913, allocations: 4 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.2913, allocations: 0 / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.2914, allocations: 33.64 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.686e-05/0.2915, allocations: 19.91 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2915, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2915, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.2915, allocations: 4 kB / 0.9022 GB, free: 62.07 MB / 0.6042 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.0004898/0.292, allocations: 331.6 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.2921, allocations: 8.031 kB / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.2921, allocations: 30.75 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.2922, allocations: 8.875 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2923, allocations: 172.5 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2923, allocations: 384 / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.2923, allocations: 8.375 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.388e-05/0.2924, allocations: 38.2 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2924, allocations: 3.938 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2924, allocations: 0 / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2924, allocations: 0 / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.2925, allocations: 7.984 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.2927, allocations: 157.7 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.2927, allocations: 26.61 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.2928, allocations: 16.84 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.2928, allocations: 4.062 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.293, allocations: 59.28 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.293, allocations: 0 / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001835/0.2932, allocations: 49.69 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.2932, allocations: 51.41 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.2933, allocations: 105.8 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.2933, allocations: 29.7 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.2934, allocations: 88.08 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.2934, allocations: 7.891 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.2934, allocations: 0 / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.2935, allocations: 314.8 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.2935, allocations: 4 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.2935, allocations: 25.7 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.2936, allocations: 25.72 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2936, allocations: 3.938 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.581e-05/0.2937, allocations: 49.62 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2937, allocations: 7.938 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2937, allocations: 4 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2937, allocations: 0 / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.2938, allocations: 0 / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2938, allocations: 4 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.2939, allocations: 12.02 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.2939, allocations: 0 / 0.9038 GB, free: 60.21 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.2939, allocations: 113.8 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.294, allocations: 11.78 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.294, allocations: 11.5 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.294, allocations: 3.938 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.294, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.294, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.2941, allocations: 153.7 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2941, allocations: 4 kB / 0.9041 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-06/0.2941, allocations: 4.516 kB / 0.9041 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2941, allocations: 3.938 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2942, allocations: 4 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2942, allocations: 0 / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2942, allocations: 0 / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.09e-05/0.2943, allocations: 69.11 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.2943, allocations: 93.03 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.2943, allocations: 4 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.2944, allocations: 8 kB / 0.9043 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.2944, allocations: 7.984 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2944, allocations: 0 / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.2945, allocations: 83.22 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2945, allocations: 0 / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002369/0.2947, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003334/0.295, allocations: 0.6201 MB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.33e-05/0.2952, allocations: 19.94 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2952, allocations: 0 / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/0.2952, allocations: 11.98 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.2954, allocations: 7.938 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/0.2963, allocations: 1.144 MB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.2965, allocations: 0.677 MB / 0.9068 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.2965, allocations: 0 / 0.9068 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.2965, allocations: 19.42 kB / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2965, allocations: 0 / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.32, allocations: 1.121 MB / 0.9079 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/0.3203, allocations: 227.3 kB / 0.9081 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.125, allocations: 4 kB / 0.9081 GB, free: 55.68 MB / 0.6042 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)