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.IntegerSwitch.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.IntegerSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",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 1.673/1.673, allocations: 285.4 MB / 298 MB, free: 5.996 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.001183/0.001183, allocations: 180.8 kB / 366.4 MB, free: 2.098 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.737/1.737, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0007994/0.0007994, allocations: 96.33 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.503e-05/4.523e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7632/0.7632, allocations: 115.3 MB / 0.971 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/1.005, allocations: 138.4 MB / 1.106 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.005, allocations: 71.95 kB / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0195/1.025, allocations: 4.49 MB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/1.025, allocations: 0 / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.025, allocations: 5.312 kB / 1.111 GB, free: 8.883 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006611/1.026, allocations: 496 kB / 1.111 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.026, allocations: 8.031 kB / 1.111 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/1.026, allocations: 38.56 kB / 1.111 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/1.026, allocations: 15.91 kB / 1.111 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/1.026, allocations: 179.7 kB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/1.026, allocations: 17.56 kB / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/1.026, allocations: 16 kB / 1.111 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/1.026, allocations: 87.05 kB / 1.111 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.026, allocations: 0 / 1.111 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/1.026, allocations: 11.98 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.027, allocations: 7.953 kB / 1.111 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/1.027, allocations: 40 kB / 1.111 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009498/1.028, allocations: 0.4924 MB / 1.112 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/1.028, allocations: 70.34 kB / 1.112 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/1.028, allocations: 32.97 kB / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/1.028, allocations: 0 / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/1.028, allocations: 103.4 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/1.028, allocations: 4 kB / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000425/1.029, allocations: 141.6 kB / 1.112 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/1.029, allocations: 59.36 kB / 1.112 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/1.029, allocations: 155.4 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/1.029, allocations: 29.7 kB / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.029, allocations: 116.2 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/1.029, allocations: 23.66 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/1.029, allocations: 8 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.029, allocations: 322.8 kB / 1.113 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/1.03, allocations: 95.98 kB / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/1.03, allocations: 138 kB / 1.113 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/1.031, allocations: 178.1 kB / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.031, allocations: 0 / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001029/1.032, allocations: 391.2 kB / 1.114 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.781e-05/1.032, allocations: 97.09 kB / 1.114 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.032, allocations: 4 kB / 1.114 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.032, allocations: 0 / 1.114 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/1.032, allocations: 16.61 kB / 1.114 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/1.032, allocations: 8.125 kB / 1.114 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/1.033, allocations: 119.7 kB / 1.114 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.958e-05/1.033, allocations: 23.98 kB / 1.114 GB, free: 5.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001512/1.033, allocations: 117 kB / 1.114 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/1.033, allocations: 15.91 kB / 1.114 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/1.033, allocations: 23.3 kB / 1.114 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.033, allocations: 0 / 1.114 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.033, allocations: 0 / 1.114 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.033, allocations: 0 / 1.114 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/1.033, allocations: 217.5 kB / 1.114 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.033, allocations: 0 / 1.114 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/1.034, allocations: 15.92 kB / 1.114 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.034, allocations: 0 / 1.114 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/1.034, allocations: 8 kB / 1.114 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/1.034, allocations: 0 / 1.114 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.034, allocations: 4 kB / 1.114 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/1.034, allocations: 158.4 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/1.034, allocations: 85.02 kB / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/1.034, allocations: 3.984 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/1.034, allocations: 9.781 kB / 1.115 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/1.034, allocations: 11.92 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/1.034, allocations: 4 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001328/1.034, allocations: 126.5 kB / 1.115 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.034, allocations: 0 / 1.115 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004755/1.035, allocations: 59.84 kB / 1.115 GB, free: 4.164 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008124/1.036, allocations: 0.7105 MB / 1.116 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007918/1.037, allocations: 384.5 kB / 1.116 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.037, allocations: 0 / 1.116 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/1.037, allocations: 55.91 kB / 1.116 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/1.037, allocations: 24.39 kB / 1.116 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/1.038, allocations: 207.5 kB / 1.116 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/1.038, allocations: 0.7168 MB / 1.117 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.325e-05/1.038, allocations: 12.77 kB / 1.117 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/1.038, allocations: 35.44 kB / 1.117 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.038, allocations: 1.406 kB / 1.117 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/1.058, allocations: 3.89 MB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/1.058, allocations: 180.7 kB / 1.121 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.616, allocations: 0 / 1.121 GB, free: 14.04 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)