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.71/1.71, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001211/0.001211, allocations: 179.7 kB / 371.6 MB, free: 3.348 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.686/1.686, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001037/0.001037, allocations: 92.67 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.079e-05/6.093e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3204, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9403/1.261, allocations: 138.7 MB / 1.115 GB, free: 44.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/1.261, allocations: 69.48 kB / 1.115 GB, free: 44.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002501/1.264, allocations: 0.938 MB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/1.264, allocations: 4 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.102e-06/1.264, allocations: 0 / 1.116 GB, free: 44.18 MB / 0.7448 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.0004173/1.264, allocations: 370.3 kB / 1.117 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.264, allocations: 16.03 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/1.264, allocations: 34.5 kB / 1.117 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/1.264, allocations: 4.062 kB / 1.117 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/1.264, allocations: 167.6 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/1.264, allocations: 7.141 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/1.264, allocations: 4.5 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/1.264, allocations: 52.41 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.264, allocations: 0 / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/1.264, allocations: 0.7969 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.264, allocations: 0 / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.094e-05/1.264, allocations: 27.5 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/1.265, allocations: 305.6 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/1.265, allocations: 46.47 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/1.265, allocations: 12.86 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/1.265, allocations: 0 / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/1.265, allocations: 38.5 kB / 1.117 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/1.265, allocations: 0 / 1.117 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001531/1.265, allocations: 48.09 kB / 1.117 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/1.265, allocations: 51.41 kB / 1.117 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/1.266, allocations: 115.4 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/1.266, allocations: 25.7 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/1.266, allocations: 88.67 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/1.266, allocations: 11.72 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/1.266, allocations: 0 / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/1.266, allocations: 316.9 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/1.266, allocations: 11.81 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/1.266, allocations: 12.33 kB / 1.118 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/1.266, allocations: 15.31 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.266, allocations: 0 / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.629e-05/1.266, allocations: 50.53 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.266, allocations: 11.42 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.266, allocations: 0 / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.266, allocations: 0.75 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/1.266, allocations: 8 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.266, allocations: 3.375 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/1.266, allocations: 27.28 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/1.266, allocations: 0.6562 kB / 1.118 GB, free: 42.3 MB / 0.7448 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 4.872e-05/1.266, allocations: 103.8 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/1.266, allocations: 15.11 kB / 1.118 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/1.266, allocations: 56.61 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.266, allocations: 0.8906 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.266, allocations: 0 / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.266, allocations: 7.469 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/1.267, allocations: 173.2 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.267, allocations: 0 / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/1.267, allocations: 15.42 kB / 1.118 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.267, allocations: 0 / 1.118 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/1.267, allocations: 0 / 1.118 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/1.267, allocations: 4.266 kB / 1.118 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.267, allocations: 3.609 kB / 1.118 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.89e-05/1.267, allocations: 158.6 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/1.267, allocations: 77.11 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.267, allocations: 0 / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/1.267, allocations: 22.94 kB / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/1.267, allocations: 8.609 kB / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/1.267, allocations: 8 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.847e-05/1.267, allocations: 89.22 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.267, allocations: 0 / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001976/1.267, allocations: 4 kB / 1.119 GB, free: 41.55 MB / 0.7448 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.0002603/1.268, allocations: 0.6908 MB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.139e-05/1.268, allocations: 24 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.268, allocations: 4 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/1.268, allocations: 15.36 kB / 1.12 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/1.268, allocations: 4.875 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/1.268, allocations: 100 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/1.268, allocations: 0.6912 MB / 1.12 GB, free: 40 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.368e-05/1.268, allocations: 8.609 kB / 1.12 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/1.268, allocations: 11.25 kB / 1.12 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.268, allocations: 0 / 1.12 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/1.279, allocations: 1.429 MB / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001295/1.28, allocations: 161.5 kB / 1.122 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.773, allocations: 2.625 kB / 1.122 GB, free: 39.02 MB / 0.7448 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)