Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001883/0.001883, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002785/0.002785, allocations: 214 kB / 22.25 MB, free: 5.133 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.996 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.311/1.311, allocations: 203.8 MB / 0.5041 GB, free: 4.961 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.00216/0.00216, allocations: 63.89 kB / 0.7187 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6535/0.6556, allocations: 102 MB / 0.8184 GB, free: 29.16 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002022/0.6577, allocations: 0.7834 MB / 0.8191 GB, free: 28.67 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.6597, allocations: 1.184 MB / 0.8203 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.6597, allocations: 0 / 0.8203 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.6598, allocations: 5.094 kB / 0.8203 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.6599, allocations: 19.66 kB / 0.8203 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.6604, allocations: 133 kB / 0.8204 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.6606, allocations: 132.9 kB / 0.8206 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.6607, allocations: 14.67 kB / 0.8206 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.6608, allocations: 54.28 kB / 0.8206 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.6609, allocations: 53.3 kB / 0.8207 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.661, allocations: 11.62 kB / 0.8207 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.661, allocations: 24.16 kB / 0.8207 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.6611, allocations: 13.69 kB / 0.8207 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.6611, allocations: 53.08 kB / 0.8208 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.6614, allocations: 126.3 kB / 0.8209 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6614, allocations: 0 / 0.8209 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6614, allocations: 1.641 kB / 0.8209 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.6614, allocations: 0.6875 kB / 0.8209 GB, free: 27.53 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.0007547/0.6621, allocations: 350.6 kB / 0.8212 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.6622, allocations: 11.69 kB / 0.8213 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.6623, allocations: 12.25 kB / 0.8213 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.954e-05/0.6624, allocations: 120.4 kB / 0.8214 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.6624, allocations: 3.594 kB / 0.8214 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.6624, allocations: 11.14 kB / 0.8214 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.6627, allocations: 81.61 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.6627, allocations: 0.7031 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.6627, allocations: 5.125 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.6627, allocations: 0.75 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.663, allocations: 77.3 kB / 0.8216 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.6635, allocations: 296.3 kB / 0.8218 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.6637, allocations: 50.36 kB / 0.8219 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.6638, allocations: 44.64 kB / 0.8219 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.6639, allocations: 6.562 kB / 0.8219 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.6642, allocations: 102.1 kB / 0.822 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.6642, allocations: 1.125 kB / 0.822 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6): time 0.000697/0.6649, allocations: 155.4 kB / 0.8222 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6649, allocations: 57.14 kB / 0.8222 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.665, allocations: 127.8 kB / 0.8224 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.665, allocations: 36.58 kB / 0.8224 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.6651, allocations: 89.88 kB / 0.8225 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.6651, allocations: 24.62 kB / 0.8225 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.6652, allocations: 31.81 kB / 0.8225 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.6653, allocations: 322.9 kB / 0.8228 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.6655, allocations: 60.88 kB / 0.8229 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.6657, allocations: 85.7 kB / 0.823 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.6661, allocations: 143.4 kB / 0.8231 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6661, allocations: 0 / 0.8231 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005354/0.6666, allocations: 215.7 kB / 0.8233 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.6667, allocations: 43.98 kB / 0.8234 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6667, allocations: 0 / 0.8234 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.6667, allocations: 1.922 kB / 0.8234 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.6669, allocations: 16.38 kB / 0.8234 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.6669, allocations: 2.859 kB / 0.8234 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.6672, allocations: 42.16 kB / 0.8234 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.6673, allocations: 11.67 kB / 0.8234 GB, free: 25.63 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001095/0.6674, allocations: 121.2 kB / 0.8235 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.6674, allocations: 3.672 kB / 0.8236 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.6674, allocations: 11.09 kB / 0.8236 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6674, allocations: 0 / 0.8236 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6674, allocations: 1.031 kB / 0.8236 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.6674, allocations: 0.7031 kB / 0.8236 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.6676, allocations: 163.2 kB / 0.8237 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6676, allocations: 4.547 kB / 0.8237 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.6677, allocations: 24.94 kB / 0.8237 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6677, allocations: 0 / 0.8237 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.6677, allocations: 1.438 kB / 0.8237 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6677, allocations: 2.344 kB / 0.8238 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6677, allocations: 0 / 0.8238 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.6681, allocations: 152.7 kB / 0.8239 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.6681, allocations: 6.172 kB / 0.8239 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.6682, allocations: 2.188 kB / 0.8239 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.6683, allocations: 16.03 kB / 0.8239 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.6683, allocations: 5.891 kB / 0.8239 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.6683, allocations: 2.359 kB / 0.8239 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.214e-05/0.6684, allocations: 101.1 kB / 0.824 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6684, allocations: 0 / 0.824 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002326/0.6686, allocations: 28.42 kB / 0.8241 GB, free: 25.12 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001623/0.6688, allocations: 96.8 kB / 0.8241 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005112/0.6693, allocations: 181.3 kB / 0.8243 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6693, allocations: 0 / 0.8243 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.6695, allocations: 44.95 kB / 0.8244 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.6697, allocations: 24.5 kB / 0.8244 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.6702, allocations: 165 kB / 0.8245 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.6703, allocations: 0.6956 MB / 0.8252 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.6704, allocations: 4.578 kB / 0.8252 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.6704, allocations: 11.72 kB / 0.8252 GB, free: 24.06 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.6704, allocations: 0 / 0.8252 GB, free: 24.06 MB / 0.6387 GB Notification: Performance of Templates: time 0.00567/0.6761, allocations: 1.602 MB / 0.8268 GB, free: 23.92 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.942088155075908] Failed to read output from testmodel.py, exit status != 0: 0.6849940288811922 0.6979298570000001 0.03366832 Calling exit ...