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.0009336/0.0009336, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0008697/0.0008697, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.047/1.047, allocations: 230.6 MB / 256 MB, free: 9.816 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.7949/0.7949, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.0009058/0.0009058, allocations: 70.33 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4978, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001973/0.4998, allocations: 0.8263 MB / 0.8187 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.5014, allocations: 1.322 MB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.5015, allocations: 1.094 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.681e-05/0.5016, allocations: 13.88 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.5017, allocations: 28.36 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008744/0.5025, allocations: 322.8 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.503, allocations: 284.1 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.5031, allocations: 36.86 kB / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.5032, allocations: 118.5 kB / 0.8207 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.5034, allocations: 119.8 kB / 0.8209 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.5035, allocations: 27.69 kB / 0.8209 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.5036, allocations: 39.92 kB / 0.8209 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.5036, allocations: 26.69 kB / 0.8209 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.893e-05/0.5037, allocations: 100.9 kB / 0.821 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.504, allocations: 264.5 kB / 0.8213 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.504, allocations: 0.7031 kB / 0.8213 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.504, allocations: 0 / 0.8213 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.504, allocations: 1.219 kB / 0.8213 GB, free: 15.17 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.0005284/0.5046, allocations: 468.6 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5046, allocations: 14.09 kB / 0.8218 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.5046, allocations: 41.23 kB / 0.8218 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.5047, allocations: 17.44 kB / 0.8218 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.026e-05/0.5048, allocations: 128.2 kB / 0.8219 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.5048, allocations: 19.11 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.5048, allocations: 21.89 kB / 0.822 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.505, allocations: 81.61 kB / 0.8221 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.505, allocations: 0.5625 kB / 0.8221 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.505, allocations: 9.562 kB / 0.8221 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.505, allocations: 2.188 kB / 0.8221 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.5051, allocations: 55.59 kB / 0.8221 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.5057, allocations: 459.7 kB / 0.8226 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.5059, allocations: 70.02 kB / 0.8226 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.5059, allocations: 27.12 kB / 0.8227 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.5059, allocations: 2.234 kB / 0.8227 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.5061, allocations: 117.5 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.5061, allocations: 0 / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002927/0.5064, allocations: 177.4 kB / 0.8229 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.5065, allocations: 55.22 kB / 0.823 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.5066, allocations: 162.9 kB / 0.8231 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.5066, allocations: 33.7 kB / 0.8232 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.5067, allocations: 114 kB / 0.8233 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.5067, allocations: 33.66 kB / 0.8233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.5068, allocations: 77.56 kB / 0.8234 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.5069, allocations: 329 kB / 0.8237 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.507, allocations: 95.25 kB / 0.8238 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.5072, allocations: 146.6 kB / 0.8239 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.5075, allocations: 250.5 kB / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5075, allocations: 0 / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000498/0.508, allocations: 409.1 kB / 0.8246 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-05/0.5081, allocations: 98.45 kB / 0.8247 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5081, allocations: 1.062 kB / 0.8247 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.5081, allocations: 11.06 kB / 0.8247 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.5082, allocations: 15.34 kB / 0.8247 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.5082, allocations: 2.094 kB / 0.8247 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.5085, allocations: 88.77 kB / 0.8248 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.5085, allocations: 22.08 kB / 0.8248 GB, free: 12.55 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.0001345/0.5086, allocations: 133.6 kB / 0.8249 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.5087, allocations: 14.23 kB / 0.8249 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.5087, allocations: 21.55 kB / 0.825 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5087, allocations: 1.094 kB / 0.825 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5087, allocations: 0 / 0.825 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5087, allocations: 2.359 kB / 0.825 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.5089, allocations: 188.4 kB / 0.8251 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5089, allocations: 4.641 kB / 0.8251 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.5089, allocations: 9.297 kB / 0.8251 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5089, allocations: 1.281 kB / 0.8251 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.509, allocations: 6.453 kB / 0.8252 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.509, allocations: 1.062 kB / 0.8252 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.509, allocations: 0.9062 kB / 0.8252 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.5092, allocations: 164.9 kB / 0.8253 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.5092, allocations: 21.2 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.5092, allocations: 2.078 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.453e-05/0.5092, allocations: 9.859 kB / 0.8253 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.5093, allocations: 9.219 kB / 0.8254 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5093, allocations: 9.109 kB / 0.8254 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.144e-05/0.5094, allocations: 111.6 kB / 0.8255 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5094, allocations: 5.188 kB / 0.8255 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000214/0.5096, allocations: 48.77 kB / 0.8255 GB, free: 11.98 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.0004304/0.51, allocations: 0.7033 MB / 0.8262 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.5104, allocations: 350.2 kB / 0.8265 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5104, allocations: 0 / 0.8265 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.5105, allocations: 42.91 kB / 0.8266 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.5107, allocations: 34.22 kB / 0.8266 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.5131, allocations: 2.255 MB / 0.8288 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.5133, allocations: 0.7101 MB / 0.8295 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.844e-05/0.5134, allocations: 12.27 kB / 0.8295 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.5134, allocations: 38.73 kB / 0.8296 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/0.5134, allocations: 0 / 0.8296 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.5367, allocations: 4.399 MB / 0.8339 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.396, allocations: 10.61 kB / 0.8339 GB, free: 8.012 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.531313071027398] Failed to read output from testmodel.py, exit status != 0: 7.475705061806366 7.489706618 6.983534928 Calling exit ...