Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001037/0.001037, allocations: 185 kB / 377.1 MB, free: 1.531 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.53/1.53, allocations: 205.4 MB / 0.6366 GB, free: 8.621 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008358/0.0008359, allocations: 88.31 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 15.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2902, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7662/1.057, allocations: 138.8 MB / 1.124 GB, free: 35.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/1.057, allocations: 66.27 kB / 1.124 GB, free: 35.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002567/1.059, allocations: 0.9481 MB / 1.125 GB, free: 35.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.284e-06/1.059, allocations: 0 / 1.125 GB, free: 35.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.059, allocations: 0 / 1.125 GB, free: 35.1 MB / 0.7292 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.0005973/1.06, allocations: 388.1 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/1.06, allocations: 12.02 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.425e-05/1.06, allocations: 35.12 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/1.06, allocations: 2.609 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/1.06, allocations: 174.4 kB / 1.126 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/1.06, allocations: 4 kB / 1.126 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/1.06, allocations: 9.188 kB / 1.126 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/1.061, allocations: 68.67 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.061, allocations: 5.156 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/1.061, allocations: 4.656 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.061, allocations: 0 / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/1.061, allocations: 50.45 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/1.062, allocations: 296.9 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/1.062, allocations: 66.2 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/1.062, allocations: 0 / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/1.062, allocations: 31.06 kB / 1.126 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/1.062, allocations: 0.6562 kB / 1.126 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004865/1.063, allocations: 119.7 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/1.063, allocations: 51.41 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.036e-05/1.063, allocations: 109.4 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/1.063, allocations: 25.7 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/1.063, allocations: 91.66 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/1.063, allocations: 13.47 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/1.063, allocations: 0 / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.801e-05/1.063, allocations: 314.4 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/1.063, allocations: 23.52 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/1.063, allocations: 30.84 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/1.063, allocations: 27.45 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.063, allocations: 0 / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002881/1.064, allocations: 100.7 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.064, allocations: 4 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.064, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.064, allocations: 4.656 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.064, allocations: 12.06 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.064, allocations: 0 / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/1.064, allocations: 27.5 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/1.064, allocations: 7.953 kB / 1.127 GB, free: 32.97 MB / 0.7292 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 () * 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 7.771e-05/1.064, allocations: 109.9 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/1.064, allocations: 7.906 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/1.064, allocations: 93.41 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.064, allocations: 0 / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.064, allocations: 8.438 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.065, allocations: 0 / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/1.065, allocations: 176.1 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.065, allocations: 0 / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/1.065, allocations: 11.88 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.065, allocations: 0.5625 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/1.065, allocations: 0 / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.065, allocations: 4.5 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.065, allocations: 0 / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/1.065, allocations: 177.9 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/1.065, allocations: 89.02 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/1.065, allocations: 1.5 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/1.066, allocations: 18.8 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/1.066, allocations: 11.52 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/1.066, allocations: 0 / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.667e-05/1.066, allocations: 95.62 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/1.066, allocations: 4 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003883/1.066, allocations: 8 kB / 1.128 GB, free: 32.14 MB / 0.7292 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) * Number of clocked states: 0 () * 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.000576/1.067, allocations: 0.7137 MB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003533/1.067, allocations: 63.17 kB / 1.128 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.067, allocations: 0 / 1.128 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/1.067, allocations: 32.45 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/1.068, allocations: 15.36 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.069, allocations: 476.6 kB / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/1.069, allocations: 0.6877 MB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.989e-05/1.069, allocations: 4 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/1.069, allocations: 19 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of SimCode: time 7.61e-07/1.069, allocations: 0 / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/1.088, allocations: 1.411 MB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.088, allocations: 188.4 kB / 1.131 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.758, allocations: 4.062 kB / 1.131 GB, free: 29.15 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)