Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0008267/0.0008267, allocations: 117.6 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.0008236/0.0008236, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.9018/0.9018, allocations: 230.6 MB / 256.8 MB, free: 3.441 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.7554/0.7554, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0009396/0.0009396, allocations: 72.09 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4498, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001383/0.4512, allocations: 0.6895 MB / 0.8198 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.4523, allocations: 1.311 MB / 0.821 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.4524, allocations: 1.094 kB / 0.821 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.4524, allocations: 7.875 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.4525, allocations: 18.14 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.4531, allocations: 319 kB / 0.8214 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.4534, allocations: 253.8 kB / 0.8216 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.4535, allocations: 10.69 kB / 0.8216 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.4536, allocations: 107.9 kB / 0.8217 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.4537, allocations: 94.23 kB / 0.8218 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.4538, allocations: 23.31 kB / 0.8218 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.4538, allocations: 38.19 kB / 0.8219 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.4539, allocations: 14.66 kB / 0.8219 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.168e-05/0.4539, allocations: 81.23 kB / 0.822 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.4542, allocations: 219.2 kB / 0.8222 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4542, allocations: 1.031 kB / 0.8222 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4542, allocations: 1.219 kB / 0.8222 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4542, allocations: 1.5 kB / 0.8222 GB, free: 23.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003963/0.4546, allocations: 425.5 kB / 0.8226 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4546, allocations: 11.44 kB / 0.8226 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.4547, allocations: 16.8 kB / 0.8226 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.987e-05/0.4547, allocations: 123.3 kB / 0.8227 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4548, allocations: 8.859 kB / 0.8227 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.4548, allocations: 18.8 kB / 0.8228 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.43e-05/0.4549, allocations: 52.06 kB / 0.8228 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.4549, allocations: 6.188 kB / 0.8228 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4549, allocations: 4.656 kB / 0.8228 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4549, allocations: 0.875 kB / 0.8228 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.132e-05/0.4549, allocations: 23.59 kB / 0.8228 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.4553, allocations: 391.8 kB / 0.8232 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/0.4554, allocations: 28.69 kB / 0.8232 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.4554, allocations: 18.12 kB / 0.8233 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.4554, allocations: 3.078 kB / 0.8233 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.4556, allocations: 109.2 kB / 0.8234 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.4556, allocations: 3.469 kB / 0.8234 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002348/0.4558, allocations: 137.6 kB / 0.8235 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.4559, allocations: 54.45 kB / 0.8236 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.456, allocations: 137 kB / 0.8237 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.456, allocations: 35.48 kB / 0.8237 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.456, allocations: 93.64 kB / 0.8238 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.4561, allocations: 20.16 kB / 0.8238 GB, free: 22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.4562, allocations: 67.69 kB / 0.8239 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.4562, allocations: 326 kB / 0.8242 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4564, allocations: 87.56 kB / 0.8243 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.4566, allocations: 134.9 kB / 0.8244 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.4567, allocations: 241.2 kB / 0.8246 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4567, allocations: 0 / 0.8246 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004348/0.4572, allocations: 386.5 kB / 0.825 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.4572, allocations: 102.2 kB / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4572, allocations: 1.25 kB / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4573, allocations: 3.5 kB / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.094e-05/0.4573, allocations: 7.844 kB / 0.8251 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4573, allocations: 2.25 kB / 0.8251 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.4576, allocations: 80.08 kB / 0.8252 GB, free: 21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.4576, allocations: 21.11 kB / 0.8252 GB, free: 21 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 7.728e-05/0.4577, allocations: 139.9 kB / 0.8254 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.4577, allocations: 8.719 kB / 0.8254 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.4577, allocations: 10.48 kB / 0.8254 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4577, allocations: 7.141 kB / 0.8254 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4577, allocations: 0 / 0.8254 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4577, allocations: 0.7969 kB / 0.8254 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.4578, allocations: 166.8 kB / 0.8255 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4578, allocations: 1.594 kB / 0.8255 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.4578, allocations: 2.469 kB / 0.8255 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4578, allocations: 3.938 kB / 0.8255 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.4578, allocations: 4.062 kB / 0.8256 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4578, allocations: 0.6562 kB / 0.8256 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4578, allocations: 0 / 0.8256 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.458, allocations: 148.3 kB / 0.8257 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.458, allocations: 11.05 kB / 0.8257 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.458, allocations: 1.656 kB / 0.8257 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.458, allocations: 0 / 0.8257 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.4581, allocations: 12.12 kB / 0.8257 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.4581, allocations: 7.812 kB / 0.8257 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.4581, allocations: 98.02 kB / 0.8258 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4581, allocations: 0 / 0.8258 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001783/0.4583, allocations: 47.88 kB / 0.8259 GB, free: 20.47 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0001023/0.4584, allocations: 113.3 kB / 0.826 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.4587, allocations: 323.8 kB / 0.8263 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4587, allocations: 1.156 kB / 0.8263 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.4587, allocations: 36.17 kB / 0.8263 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.4589, allocations: 30.34 kB / 0.8263 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.4592, allocations: 221.3 kB / 0.8266 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.574e-05/0.4593, allocations: 0.6927 MB / 0.8272 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.4593, allocations: 13.27 kB / 0.8272 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.4593, allocations: 0 / 0.8272 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.003266/0.4626, allocations: 1.884 MB / 0.8291 GB, free: 19.03 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.460554263088852] Failed to read output from testmodel.py, exit status != 0: 0.4680994129739702 0.47660091699999996 0.020689695999999938 Calling exit ...