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.0007984/0.0007984, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008548/0.0008548, allocations: 211.7 kB / 23.01 MB, free: 3.113 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.8612/0.8612, allocations: 230.6 MB / 256.8 MB, free: 3.477 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.7301/0.7301, allocations: 203.8 MB / 0.5049 GB, free: 0.7422 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: translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [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.0011/0.0011, allocations: 69.91 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4082, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001384/0.4096, allocations: 0.813 MB / 0.8199 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.4106, allocations: 1.336 MB / 0.8212 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.4106, allocations: 2.719 kB / 0.8212 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.4107, allocations: 13.41 kB / 0.8212 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.4107, allocations: 22.05 kB / 0.8212 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.4113, allocations: 330.8 kB / 0.8215 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.4115, allocations: 289.2 kB / 0.8218 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.4116, allocations: 28.61 kB / 0.8218 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4117, allocations: 117.7 kB / 0.822 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4119, allocations: 117.1 kB / 0.8221 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.4119, allocations: 27.38 kB / 0.8221 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.591e-05/0.412, allocations: 37.56 kB / 0.8221 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.412, allocations: 24.56 kB / 0.8222 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.067e-05/0.4121, allocations: 103.2 kB / 0.8223 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.4123, allocations: 270.9 kB / 0.8225 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4123, allocations: 0.7812 kB / 0.8225 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4123, allocations: 0 / 0.8225 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4123, allocations: 0.625 kB / 0.8225 GB, free: 23.17 MB / 0.6355 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.0003921/0.4127, allocations: 461.9 kB / 0.823 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.4128, allocations: 11.5 kB / 0.823 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.4128, allocations: 24.14 kB / 0.823 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.044e-05/0.4129, allocations: 135.5 kB / 0.8231 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4129, allocations: 15.41 kB / 0.8231 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.4129, allocations: 21.03 kB / 0.8232 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.4131, allocations: 88.53 kB / 0.8232 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.4131, allocations: 1.953 kB / 0.8232 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.4131, allocations: 1.188 kB / 0.8232 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4131, allocations: 6.781 kB / 0.8232 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.4131, allocations: 46.8 kB / 0.8233 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.4136, allocations: 468.2 kB / 0.8237 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.4138, allocations: 66.55 kB / 0.8238 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.4139, allocations: 29.95 kB / 0.8238 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.4139, allocations: 5.641 kB / 0.8238 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.414, allocations: 112 kB / 0.8239 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.414, allocations: 0.5 kB / 0.8239 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0002689/0.4143, allocations: 174 kB / 0.8241 GB, free: 22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.4143, allocations: 62.22 kB / 0.8242 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.4144, allocations: 164.5 kB / 0.8243 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4144, allocations: 34.98 kB / 0.8244 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.4145, allocations: 109.1 kB / 0.8245 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.4145, allocations: 34.67 kB / 0.8245 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.4146, allocations: 71.59 kB / 0.8246 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.4146, allocations: 330.1 kB / 0.8249 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.4147, allocations: 99.34 kB / 0.825 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4149, allocations: 139.1 kB / 0.8251 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4151, allocations: 263.4 kB / 0.8254 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4151, allocations: 0 / 0.8254 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003782/0.4154, allocations: 410.8 kB / 0.8257 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.4155, allocations: 101.5 kB / 0.8258 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4155, allocations: 2.031 kB / 0.8258 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4155, allocations: 2.844 kB / 0.8259 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.815e-05/0.4155, allocations: 14.3 kB / 0.8259 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4155, allocations: 3.734 kB / 0.8259 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.4158, allocations: 87.78 kB / 0.826 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.4158, allocations: 17.89 kB / 0.826 GB, free: 20.62 MB / 0.6355 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 6.307e-05/0.4159, allocations: 135.1 kB / 0.8261 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.4159, allocations: 13.61 kB / 0.8261 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.4159, allocations: 16.84 kB / 0.8261 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4159, allocations: 2.531 kB / 0.8261 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4159, allocations: 4.562 kB / 0.8261 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4159, allocations: 5.922 kB / 0.8261 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.651e-05/0.416, allocations: 189 kB / 0.8263 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.416, allocations: 0 / 0.8263 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.416, allocations: 17.53 kB / 0.8263 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.416, allocations: 0.6562 kB / 0.8263 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.416, allocations: 2.781 kB / 0.8263 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.416, allocations: 1.781 kB / 0.8263 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-07/0.416, allocations: 0 / 0.8263 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.4162, allocations: 165.8 kB / 0.8265 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.4162, allocations: 19.91 kB / 0.8265 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.4162, allocations: 5.812 kB / 0.8265 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.679e-05/0.4162, allocations: 1.844 kB / 0.8265 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.4163, allocations: 17.98 kB / 0.8265 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.4163, allocations: 5.094 kB / 0.8265 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.4163, allocations: 119.5 kB / 0.8267 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4163, allocations: 3.938 kB / 0.8267 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001733/0.4165, allocations: 49.59 kB / 0.8267 GB, free: 20.04 MB / 0.6355 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 8.3e-05/0.4166, allocations: 106.3 kB / 0.8268 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.4168, allocations: 346.3 kB / 0.8271 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.4168, allocations: 0 / 0.8271 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.4169, allocations: 43.86 kB / 0.8272 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.4171, allocations: 32.77 kB / 0.8272 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.4174, allocations: 273.5 kB / 0.8275 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.4175, allocations: 0.7104 MB / 0.8282 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.4175, allocations: 17.48 kB / 0.8282 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4175, allocations: 0 / 0.8282 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.003489/0.421, allocations: 2.298 MB / 0.8304 GB, free: 18.52 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.527758279116824] Failed to read output from testmodel.py, exit status != 0: 0.42655961215496063 0.43787117499999995 0.023057938 Calling exit ...