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.805/1.805, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.001098/0.001098, allocations: 184.8 kB / 366.7 MB, free: 1.672 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.58/1.58, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.001139/0.001139, allocations: 97.14 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.974e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6953/0.6953, allocations: 116.3 MB / 0.9734 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.8863, allocations: 138 MB / 1.108 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.8866, allocations: 72.73 kB / 1.108 GB, free: 12 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003092/0.8897, allocations: 0.946 MB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8898, allocations: 0 / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.8898, allocations: 0 / 1.109 GB, free: 11.09 MB / 0.7136 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.0005958/0.8904, allocations: 371 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.8905, allocations: 8.031 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.8905, allocations: 8.406 kB / 1.11 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.8907, allocations: 174.9 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.8908, allocations: 0.5 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.8908, allocations: 4.531 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/0.8909, allocations: 21.12 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.891, allocations: 53.67 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.8911, allocations: 0 / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.8911, allocations: 0.6562 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8911, allocations: 0 / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006185/0.8917, allocations: 281.9 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.8919, allocations: 35.98 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.892, allocations: 18.73 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.892, allocations: 0 / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.892, allocations: 34.64 kB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.892, allocations: 0 / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001728/0.8922, allocations: 46.83 kB / 1.11 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.8923, allocations: 51.41 kB / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.8924, allocations: 101.7 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.8924, allocations: 25.7 kB / 1.11 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.8925, allocations: 94.17 kB / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.8925, allocations: 3.906 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.8925, allocations: 0 / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8926, allocations: 322.8 kB / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.8927, allocations: 16 kB / 1.111 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.8927, allocations: 8 kB / 1.111 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.05e-05/0.8927, allocations: 5.875 kB / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8927, allocations: 0 / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.662e-05/0.8928, allocations: 53.69 kB / 1.111 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8928, allocations: 4 kB / 1.111 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8929, allocations: 0 / 1.111 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.8929, allocations: 192 / 1.111 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.893, allocations: 15.92 kB / 1.111 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.893, allocations: 4 kB / 1.111 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.8931, allocations: 19.98 kB / 1.111 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.8931, allocations: 0 / 1.111 GB, free: 9.164 MB / 0.7136 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 8.129e-05/0.8932, allocations: 108.9 kB / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.98e-05/0.8933, allocations: 53.59 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.8933, allocations: 0 / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.8935, allocations: 72.84 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8935, allocations: 0 / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8935, allocations: 0 / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.8935, allocations: 0 / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.8937, allocations: 150.2 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8937, allocations: 0 / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.8938, allocations: 14.92 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.8938, allocations: 3.656 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.8938, allocations: 0 / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8938, allocations: 4 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8938, allocations: 4 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.8939, allocations: 143.4 kB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.894, allocations: 81.11 kB / 1.111 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.894, allocations: 0 / 1.111 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.8942, allocations: 27.97 kB / 1.111 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.8942, allocations: 7.984 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.8943, allocations: 0 / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.8943, allocations: 89.41 kB / 1.112 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8943, allocations: 0 / 1.112 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002272/0.8946, allocations: 8 kB / 1.112 GB, free: 8.32 MB / 0.7136 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.0004437/0.895, allocations: 0.6877 MB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.8951, allocations: 20 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8951, allocations: 0 / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.8951, allocations: 11.94 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.8954, allocations: 8 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.8957, allocations: 106.3 kB / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.896, allocations: 0.6846 MB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.896, allocations: 3.984 kB / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.8961, allocations: 15.44 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8961, allocations: 0 / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.9165, allocations: 1.038 MB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.9168, allocations: 147.5 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.39, allocations: 0 / 1.114 GB, free: 5.52 MB / 0.7136 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)