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.0007377/0.0007377, 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.000799/0.000799, 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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.594 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.7942/0.7942, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.001413/0.001413, allocations: 69.86 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5468, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001653/0.5485, allocations: 0.8049 MB / 0.8186 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.5498, allocations: 1.3 MB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.5498, allocations: 1.781 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.5498, allocations: 21.72 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.5499, allocations: 22.17 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.5505, allocations: 321.4 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.5508, allocations: 288.1 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.5509, allocations: 37.56 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.5511, allocations: 112.6 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.5512, allocations: 98.02 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.5512, allocations: 26.06 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.5513, allocations: 38.69 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.5514, allocations: 26.56 kB / 0.8208 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.325e-05/0.5514, allocations: 92.7 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.5517, allocations: 265.8 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5517, allocations: 1.094 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5517, allocations: 0 / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.5517, allocations: 4 kB / 0.8212 GB, free: 15.02 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.0005427/0.5523, allocations: 466.2 kB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5523, allocations: 9.25 kB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.5524, allocations: 39.61 kB / 0.8216 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.5524, allocations: 19.27 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.979e-05/0.5525, allocations: 134.8 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.5525, allocations: 14.06 kB / 0.8218 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.5526, allocations: 20.69 kB / 0.8218 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.5527, allocations: 87.52 kB / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5527, allocations: 1.031 kB / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.5527, allocations: 1.781 kB / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5527, allocations: 5.312 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.5528, allocations: 48.31 kB / 0.822 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.5534, allocations: 417.6 kB / 0.8224 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.5535, allocations: 66.52 kB / 0.8224 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.5536, allocations: 28.38 kB / 0.8225 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.5536, allocations: 1.281 kB / 0.8225 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.5538, allocations: 117.5 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.5538, allocations: 3.938 kB / 0.8226 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003048/0.5541, allocations: 174.5 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5541, allocations: 54.44 kB / 0.8228 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.5542, allocations: 165.2 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.5543, allocations: 36.88 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.5543, allocations: 115.6 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.5543, allocations: 31.55 kB / 0.8231 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.5544, allocations: 74.42 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.5545, allocations: 327.8 kB / 0.8235 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.5547, allocations: 184.4 kB / 0.8237 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.5549, allocations: 237.4 kB / 0.8239 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.5552, allocations: 254 kB / 0.8241 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5552, allocations: 1.656 kB / 0.8241 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000505/0.5557, allocations: 0.4886 MB / 0.8246 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.5558, allocations: 96.77 kB / 0.8247 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5558, allocations: 6.375 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5558, allocations: 3.094 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.812e-05/0.5558, allocations: 18.3 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5558, allocations: 2.922 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.5561, allocations: 87.81 kB / 0.8248 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.5561, allocations: 30.52 kB / 0.8249 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 9.117e-05/0.5562, allocations: 133.1 kB / 0.825 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.5562, allocations: 13.98 kB / 0.825 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.5563, allocations: 14.55 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5563, allocations: 1.375 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5563, allocations: 0 / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.5563, allocations: 2.531 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.5564, allocations: 179.6 kB / 0.8252 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5564, allocations: 5.219 kB / 0.8252 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.5564, allocations: 16.28 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5564, allocations: 1.75 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5564, allocations: 6.219 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5565, allocations: 2.172 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.5565, allocations: 0 / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.5566, allocations: 163.3 kB / 0.8254 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.5566, allocations: 20.25 kB / 0.8254 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.5566, allocations: 6.312 kB / 0.8254 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.5567, allocations: 2.016 kB / 0.8254 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.5567, allocations: 13 kB / 0.8254 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.5567, allocations: 5.688 kB / 0.8254 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.5568, allocations: 119.7 kB / 0.8255 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5568, allocations: 1.219 kB / 0.8255 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001905/0.557, allocations: 49.03 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.0003611/0.5573, allocations: 0.7102 MB / 0.8263 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.5577, allocations: 433.4 kB / 0.8267 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5577, allocations: 1.531 kB / 0.8267 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.84e-05/0.5578, allocations: 43.5 kB / 0.8267 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.558, allocations: 31.45 kB / 0.8268 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.5602, allocations: 2.62 MB / 0.8293 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.023e-05/0.5602, allocations: 99.08 kB / 0.8294 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.5603, allocations: 11.73 kB / 0.8294 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.5603, allocations: 37.48 kB / 0.8295 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/0.5603, allocations: 1.125 kB / 0.8295 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.5796, allocations: 5.098 MB / 0.8344 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.558/7.138, allocations: 8.953 kB / 0.8345 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.184284685179591] Failed to read output from testmodel.py, exit status != 0: 7.2173175611533225 7.226612508 6.672822187 Calling exit ...