Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 3.259/3.259, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.003409/0.003409, allocations: 168.9 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.174/3.174, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.001282/0.001282, allocations: 88.48 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000119/0.0001192, allocations: 8 kB / 0.8519 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385/1.385, allocations: 115.3 MB / 0.9645 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/1.727, allocations: 137 MB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/1.727, allocations: 67.91 kB / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004735/1.732, allocations: 0.9441 MB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.367e-06/1.732, allocations: 0.8438 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.732, allocations: 0 / 1.099 GB, free: 1.695 MB / 0.698 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.0007909/1.733, allocations: 373 kB / 1.1 GB, free: 1.293 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/1.733, allocations: 8.656 kB / 1.1 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/1.733, allocations: 13.77 kB / 1.1 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/1.733, allocations: 176.2 kB / 1.1 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/1.733, allocations: 0 / 1.1 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/1.733, allocations: 0 / 1.1 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001535/1.734, allocations: 20 kB / 1.1 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/1.734, allocations: 55.97 kB / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.734, allocations: 0.6875 kB / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/1.734, allocations: 0 / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.734, allocations: 0.6562 kB / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/1.735, allocations: 283.2 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/1.735, allocations: 41.62 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/1.735, allocations: 16.92 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/1.735, allocations: 0 / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.735, allocations: 30.56 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/1.735, allocations: 0 / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002722/1.736, allocations: 53.22 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/1.736, allocations: 51.41 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/1.736, allocations: 98.8 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/1.736, allocations: 25.7 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/1.736, allocations: 92.03 kB / 1.101 GB, free: 236 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/1.736, allocations: 11.91 kB / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/1.736, allocations: 0 / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002608/1.736, allocations: 318.8 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/1.736, allocations: 8 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/1.736, allocations: 12 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/1.736, allocations: 11.27 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.736, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/1.737, allocations: 45.7 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.737, allocations: 8 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.737, allocations: 0 / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.737, allocations: 0 / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/1.737, allocations: 19.92 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/1.737, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/1.737, allocations: 23.97 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/1.737, allocations: 3.5 kB / 1.101 GB, free: 15.77 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 0.0001215/1.737, allocations: 104.9 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000139/1.737, allocations: 49.59 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/1.737, allocations: 8 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/1.738, allocations: 61.91 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.738, allocations: 2.062 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.738, allocations: 3.5 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.738, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/1.738, allocations: 150.2 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.738, allocations: 3.984 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/1.738, allocations: 8 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/1.738, allocations: 4 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/1.738, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.738, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.738, allocations: 3.984 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/1.738, allocations: 151.4 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/1.738, allocations: 77.11 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/1.738, allocations: 0 / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/1.739, allocations: 23.98 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/1.739, allocations: 3.984 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/1.739, allocations: 4 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.661e-05/1.739, allocations: 91.2 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/1.739, allocations: 0 / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004012/1.739, allocations: 4 kB / 1.102 GB, free: 14.94 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.0006446/1.74, allocations: 0.6944 MB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000166/1.74, allocations: 20 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.74, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/1.74, allocations: 17.34 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/1.741, allocations: 12.73 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/1.741, allocations: 106 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/1.742, allocations: 0.6846 MB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.443e-05/1.742, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/1.742, allocations: 15.44 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.742, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5145/2.256, allocations: 1.042 MB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004665/2.257, allocations: 159.8 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/5.856, allocations: 0 / 1.104 GB, free: 12.15 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)