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.001408/0.001408, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.00172/0.00172, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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.675/1.675, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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 1.327/1.327, allocations: 203.8 MB / 0.5041 GB, free: 4.977 MB / 414.1 MB " [Timeout remaining time 178] 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.002014/0.002014, allocations: 63.89 kB / 0.7187 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6727, allocations: 102 MB / 0.8183 GB, free: 29.19 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002275/0.6749, allocations: 0.6935 MB / 0.819 GB, free: 28.76 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.6766, allocations: 1.304 MB / 0.8203 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.6766, allocations: 0 / 0.8203 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.6767, allocations: 5.516 kB / 0.8203 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.6768, allocations: 25.09 kB / 0.8203 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.6776, allocations: 315.9 kB / 0.8206 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000323/0.6779, allocations: 254 kB / 0.8209 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.678, allocations: 10.75 kB / 0.8209 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.6781, allocations: 104.6 kB / 0.821 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.6783, allocations: 96.27 kB / 0.8211 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.6784, allocations: 21.81 kB / 0.8211 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.6785, allocations: 35.94 kB / 0.8211 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.6785, allocations: 15.22 kB / 0.8211 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.6786, allocations: 86.5 kB / 0.8212 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.679, allocations: 218.4 kB / 0.8214 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.679, allocations: 0.5625 kB / 0.8214 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.252e-06/0.679, allocations: 1.188 kB / 0.8214 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.679, allocations: 0.6562 kB / 0.8214 GB, free: 27.33 MB / 0.6387 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.0006014/0.6796, allocations: 422 kB / 0.8218 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.6796, allocations: 11.27 kB / 0.8218 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.42e-05/0.6797, allocations: 16.67 kB / 0.8219 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.6798, allocations: 122.3 kB / 0.822 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.6799, allocations: 15.41 kB / 0.822 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.6799, allocations: 14.52 kB / 0.822 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.68, allocations: 57.69 kB / 0.8221 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6801, allocations: 8.406 kB / 0.8221 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.6801, allocations: 1.703 kB / 0.8221 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6801, allocations: 0.5938 kB / 0.8221 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.038e-05/0.6801, allocations: 26.16 kB / 0.8221 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.6807, allocations: 380.1 kB / 0.8225 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.6808, allocations: 34.78 kB / 0.8225 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.6808, allocations: 17.06 kB / 0.8225 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.6809, allocations: 3.016 kB / 0.8225 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.6811, allocations: 105.9 kB / 0.8226 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.6811, allocations: 1.531 kB / 0.8226 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0003057/0.6814, allocations: 136.4 kB / 0.8227 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.6814, allocations: 58.25 kB / 0.8228 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.6815, allocations: 139.2 kB / 0.8229 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.6815, allocations: 32.42 kB / 0.823 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.6816, allocations: 97.52 kB / 0.823 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.6816, allocations: 24.23 kB / 0.8231 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.6817, allocations: 67 kB / 0.8231 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.6818, allocations: 323.5 kB / 0.8234 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.682, allocations: 87.73 kB / 0.8235 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.6822, allocations: 135.8 kB / 0.8237 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.6825, allocations: 244.7 kB / 0.8239 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6825, allocations: 0 / 0.8239 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005707/0.683, allocations: 380 kB / 0.8243 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.6831, allocations: 98.42 kB / 0.8243 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6831, allocations: 1.406 kB / 0.8243 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.6831, allocations: 2.781 kB / 0.8243 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.999e-05/0.6831, allocations: 11.77 kB / 0.8244 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.6832, allocations: 3.422 kB / 0.8244 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.6837, allocations: 87.66 kB / 0.8244 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.6837, allocations: 17.16 kB / 0.8245 GB, free: 24.96 MB / 0.6387 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 0.0001117/0.6838, allocations: 138.5 kB / 0.8246 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.6839, allocations: 8.422 kB / 0.8246 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.6839, allocations: 15 kB / 0.8246 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6839, allocations: 1.547 kB / 0.8246 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6839, allocations: 0 / 0.8246 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6839, allocations: 2.016 kB / 0.8246 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.684, allocations: 162.5 kB / 0.8248 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.684, allocations: 5.25 kB / 0.8248 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.119e-05/0.6841, allocations: 2.062 kB / 0.8248 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6841, allocations: 5.344 kB / 0.8248 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6841, allocations: 6.594 kB / 0.8248 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6841, allocations: 0 / 0.8248 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6841, allocations: 1.953 kB / 0.8248 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.6842, allocations: 136.7 kB / 0.8249 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.6842, allocations: 8.109 kB / 0.8249 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.6843, allocations: 10.67 kB / 0.8249 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.517e-05/0.6843, allocations: 5.797 kB / 0.825 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.6843, allocations: 6.969 kB / 0.825 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.6844, allocations: 8.922 kB / 0.825 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.111e-05/0.6844, allocations: 98.56 kB / 0.8251 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6844, allocations: 0 / 0.8251 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002984/0.6847, allocations: 47.53 kB / 0.8251 GB, free: 24.44 MB / 0.6387 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.0001447/0.6848, allocations: 105.8 kB / 0.8252 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.6853, allocations: 335.8 kB / 0.8255 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6853, allocations: 0 / 0.8255 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.6854, allocations: 31.75 kB / 0.8256 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.6856, allocations: 27 kB / 0.8256 GB, free: 24.08 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.686, allocations: 196 kB / 0.8258 GB, free: 23.92 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.6862, allocations: 0.6927 MB / 0.8264 GB, free: 23.22 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.6862, allocations: 8.625 kB / 0.8265 GB, free: 23.22 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.6862, allocations: 12.75 kB / 0.8265 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.6862, allocations: 0 / 0.8265 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.007317/0.6935, allocations: 2.668 MB / 0.8291 GB, free: 22.98 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.2804571352899075] Failed to read output from testmodel.py, exit status != 0: 0.7021104171872139 0.714433883 0.032634170000000004 Calling exit ...