Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008572/0.0008572, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9494/0.9494, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7989/0.7989, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008558/0.0008558, allocations: 65.89 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.4982, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001589/0.4998, allocations: 0.8012 MB / 0.8186 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.501, allocations: 1.3 MB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.501, allocations: 3.969 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.5011, allocations: 13.22 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.371e-05/0.5011, allocations: 26.58 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.5018, allocations: 328.4 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.5021, allocations: 284.3 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.5022, allocations: 39.53 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.5024, allocations: 115.2 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.5025, allocations: 95.16 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.5025, allocations: 26.94 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.5026, allocations: 41.25 kB / 0.8208 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.5026, allocations: 23.44 kB / 0.8208 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.5027, allocations: 99.3 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.503, allocations: 265.9 kB / 0.8212 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.503, allocations: 0.8906 kB / 0.8212 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.503, allocations: 0 / 0.8212 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5031, allocations: 0 / 0.8212 GB, free: 15.01 MB / 0.6198 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.0005443/0.5036, allocations: 464.8 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5036, allocations: 11.23 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.5037, allocations: 37.78 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.5037, allocations: 18.41 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.522e-05/0.5038, allocations: 133.5 kB / 0.8218 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.5039, allocations: 15.64 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.5039, allocations: 22.55 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.504, allocations: 86.67 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.504, allocations: 0 / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.504, allocations: 2.109 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.504, allocations: 3.906 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.5041, allocations: 48.31 kB / 0.822 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.5047, allocations: 413.4 kB / 0.8224 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.5049, allocations: 75.11 kB / 0.8224 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.5049, allocations: 26.33 kB / 0.8225 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.5049, allocations: 1.25 kB / 0.8225 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.5051, allocations: 115.7 kB / 0.8226 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.5051, allocations: 0 / 0.8226 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003238/0.5055, allocations: 174.5 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.5055, allocations: 54.19 kB / 0.8228 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.5056, allocations: 166 kB / 0.8229 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.5057, allocations: 35.14 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.5057, allocations: 117.6 kB / 0.8231 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.5058, allocations: 38.62 kB / 0.8231 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.5059, allocations: 74.98 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.506, allocations: 327.6 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.5062, allocations: 189.2 kB / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.5064, allocations: 235 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.5066, allocations: 251.6 kB / 0.8242 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5066, allocations: 0.6562 kB / 0.8242 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004945/0.5071, allocations: 496.9 kB / 0.8246 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.5072, allocations: 98.17 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.5072, allocations: 2.906 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5072, allocations: 2.625 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.5072, allocations: 13.05 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.5072, allocations: 3.469 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.5075, allocations: 91.5 kB / 0.8248 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.5076, allocations: 23.11 kB / 0.8248 GB, free: 12.11 MB / 0.6198 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,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.5077, allocations: 133.2 kB / 0.825 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.5077, allocations: 14.84 kB / 0.825 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.5077, allocations: 16.31 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5077, allocations: 1.344 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.5077, allocations: 1.984 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5077, allocations: 0.75 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.5079, allocations: 180.5 kB / 0.8252 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.5079, allocations: 8.391 kB / 0.8252 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.5079, allocations: 9.219 kB / 0.8252 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5079, allocations: 1.5 kB / 0.8252 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5079, allocations: 5.953 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5079, allocations: 2.141 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5079, allocations: 0 / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.5081, allocations: 170.7 kB / 0.8254 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.5082, allocations: 20.48 kB / 0.8254 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.5082, allocations: 6.594 kB / 0.8254 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.5082, allocations: 5.984 kB / 0.8254 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.5083, allocations: 17.98 kB / 0.8254 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5083, allocations: 4.406 kB / 0.8254 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.873e-05/0.5083, allocations: 116.2 kB / 0.8255 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5083, allocations: 0 / 0.8255 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002094/0.5086, allocations: 49.98 kB / 0.8256 GB, free: 11.55 MB / 0.6198 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000461/0.509, allocations: 0.7096 MB / 0.8263 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.5095, allocations: 437.6 kB / 0.8267 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5095, allocations: 0 / 0.8267 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.924e-05/0.5095, allocations: 44 kB / 0.8267 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.5098, allocations: 34.36 kB / 0.8268 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.5123, allocations: 2.622 MB / 0.8293 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.179e-05/0.5123, allocations: 95.14 kB / 0.8294 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.5124, allocations: 11.23 kB / 0.8294 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.5124, allocations: 38.14 kB / 0.8295 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.5124, allocations: 4 kB / 0.8295 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.5304, allocations: 5.09 MB / 0.8344 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/7.074, allocations: 9.562 kB / 0.8344 GB, free: 7.168 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Switch.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.014352270402014] Failed to read output from testmodel.py, exit status != 0: 7.151142898015678 7.161462939 6.656345462 Calling exit ...