Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Validation.OnOffController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.906 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.001082/0.001082, allocations: 190.6 kB / 321.3 MB, free: 14.65 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.475/1.475, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008748/0.0008747, allocations: 94.45 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.969e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2549, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6317/0.8867, allocations: 131.6 MB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.887, allocations: 71.27 kB / 1.02 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002877/0.8899, allocations: 0.9545 MB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8899, allocations: 0 / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.8899, allocations: 4 kB / 1.021 GB, free: 2.207 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004935/0.8904, allocations: 365.8 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.8905, allocations: 12.03 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.8905, allocations: 34.06 kB / 1.022 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.8906, allocations: 7.906 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.8907, allocations: 178.9 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.8907, allocations: 0 / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.8907, allocations: 7.375 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.8909, allocations: 52.31 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.8909, allocations: 3.984 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.8909, allocations: 3.938 kB / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8909, allocations: 0 / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.229e-05/0.891, allocations: 23 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.8916, allocations: 297.4 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.8918, allocations: 49.19 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.8918, allocations: 16.05 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.8918, allocations: 0 / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.8919, allocations: 34.81 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.785e-06/0.8919, allocations: 0 / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001598/0.892, allocations: 52.33 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.8921, allocations: 62.08 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.8922, allocations: 104 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.8922, allocations: 29.7 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.8923, allocations: 87.94 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.8923, allocations: 7.812 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.8923, allocations: 0 / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8924, allocations: 318.7 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.8925, allocations: 6.875 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.8925, allocations: 15.86 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.8925, allocations: 7.75 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.8925, allocations: 4 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.688e-05/0.8926, allocations: 56.81 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8926, allocations: 5.094 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8926, allocations: 0 / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.8927, allocations: 4 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.8927, allocations: 11.98 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.8928, allocations: 3.953 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.8929, allocations: 19.98 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.8929, allocations: 7.75 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * 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.175e-05/0.893, allocations: 101 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.893, allocations: 8.281 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.8931, allocations: 59.77 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.8932, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.8932, allocations: 7.875 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.8932, allocations: 12.12 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.8934, allocations: 173 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8934, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/0.8935, allocations: 11.98 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.8935, allocations: 3.984 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.8935, allocations: 0 / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8935, allocations: 4 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8935, allocations: 0 / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.8936, allocations: 146.9 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.8937, allocations: 89 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.8937, allocations: 3.688 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.8939, allocations: 15.98 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.8939, allocations: 7.984 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.8939, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.894, allocations: 98.02 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.894, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002152/0.8942, allocations: 11 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0003958/0.8946, allocations: 0.6794 MB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.8947, allocations: 22.94 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8947, allocations: 4 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.8948, allocations: 11.44 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.8949, allocations: 7.984 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.8953, allocations: 110.2 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.8956, allocations: 0.6848 MB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.8956, allocations: 8.188 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.8957, allocations: 17.81 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of SimCode: time 2.9e-07/0.8957, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.9068, allocations: 1.442 MB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.907, allocations: 180.8 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.441, allocations: 2.031 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)