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.001612/0.001612, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002384/0.002384, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.781 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.244/1.244, allocations: 203.8 MB / 0.5041 GB, free: 4.598 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.002774/0.002774, allocations: 67.89 kB / 0.7187 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6625, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002171/0.6646, allocations: 0.7608 MB / 0.8191 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.6662, allocations: 1.18 MB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.6663, allocations: 1.375 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.6663, allocations: 3.938 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.6664, allocations: 16.47 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.6669, allocations: 137 kB / 0.8204 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.6672, allocations: 126 kB / 0.8205 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.6673, allocations: 11.7 kB / 0.8205 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.6674, allocations: 50.27 kB / 0.8205 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.6675, allocations: 55.34 kB / 0.8206 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.6675, allocations: 10.69 kB / 0.8206 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.901e-05/0.6676, allocations: 21.53 kB / 0.8206 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.6676, allocations: 13.64 kB / 0.8206 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.6677, allocations: 46.75 kB / 0.8207 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.6679, allocations: 119.8 kB / 0.8208 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6679, allocations: 1.375 kB / 0.8208 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6679, allocations: 0 / 0.8208 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.6679, allocations: 1.125 kB / 0.8208 GB, free: 27.34 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.0006545/0.6686, allocations: 354.5 kB / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.6686, allocations: 10.78 kB / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.6687, allocations: 10.83 kB / 0.8212 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.612e-05/0.6688, allocations: 121.5 kB / 0.8213 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.6688, allocations: 3.906 kB / 0.8213 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.6688, allocations: 7.375 kB / 0.8213 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.6691, allocations: 78.75 kB / 0.8214 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6691, allocations: 2.203 kB / 0.8214 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.6692, allocations: 5.656 kB / 0.8214 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.6692, allocations: 0.5625 kB / 0.8214 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.6695, allocations: 69.72 kB / 0.8214 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.67, allocations: 256.2 kB / 0.8217 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.6703, allocations: 56.62 kB / 0.8217 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.6704, allocations: 44.73 kB / 0.8218 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.6705, allocations: 1.062 kB / 0.8218 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.6708, allocations: 100.5 kB / 0.8219 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.6708, allocations: 0 / 0.8219 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6): time 0.0006804/0.6715, allocations: 161.2 kB / 0.822 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.6715, allocations: 53.89 kB / 0.8221 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.6716, allocations: 134.1 kB / 0.8222 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.6717, allocations: 31.59 kB / 0.8222 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.6717, allocations: 94.55 kB / 0.8223 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.6717, allocations: 19.97 kB / 0.8223 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.6718, allocations: 30.92 kB / 0.8224 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.6719, allocations: 320.9 kB / 0.8227 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.6721, allocations: 89.69 kB / 0.8228 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.6724, allocations: 116.4 kB / 0.8229 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.6727, allocations: 145 kB / 0.823 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6727, allocations: 3.938 kB / 0.823 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005648/0.6733, allocations: 248.4 kB / 0.8233 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.6733, allocations: 37.59 kB / 0.8233 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6733, allocations: 1.828 kB / 0.8233 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.6734, allocations: 5.094 kB / 0.8233 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.6735, allocations: 16.2 kB / 0.8233 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6735, allocations: 5.281 kB / 0.8233 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.6738, allocations: 36.05 kB / 0.8233 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.6738, allocations: 10.53 kB / 0.8234 GB, free: 25.39 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 8.743e-05/0.6739, allocations: 125 kB / 0.8235 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.6739, allocations: 8.234 kB / 0.8235 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.6739, allocations: 7.203 kB / 0.8235 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6739, allocations: 5.547 kB / 0.8235 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6739, allocations: 0 / 0.8235 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6739, allocations: 0.7031 kB / 0.8235 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.405e-05/0.674, allocations: 127.6 kB / 0.8236 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.674, allocations: 0.6562 kB / 0.8236 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.6741, allocations: 15.53 kB / 0.8236 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.6741, allocations: 1.219 kB / 0.8236 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.6741, allocations: 4.516 kB / 0.8236 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6742, allocations: 1.031 kB / 0.8236 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6742, allocations: 0.6094 kB / 0.8236 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.6745, allocations: 153.9 kB / 0.8238 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.6746, allocations: 11.2 kB / 0.8238 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.6746, allocations: 2.266 kB / 0.8238 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.6747, allocations: 13.09 kB / 0.8238 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.6747, allocations: 8.781 kB / 0.8238 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.6747, allocations: 10.36 kB / 0.8238 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.6748, allocations: 93.38 kB / 0.8239 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6748, allocations: 0 / 0.8239 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000228/0.675, allocations: 24.84 kB / 0.8239 GB, free: 24.93 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.0001507/0.6751, allocations: 104.3 kB / 0.824 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005451/0.6757, allocations: 209.4 kB / 0.8242 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6757, allocations: 5.219 kB / 0.8242 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.6759, allocations: 44.75 kB / 0.8243 GB, free: 24.69 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.6763, allocations: 17.2 kB / 0.8243 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.6767, allocations: 169.9 kB / 0.8245 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.096e-05/0.6768, allocations: 76.02 kB / 0.8245 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.6768, allocations: 5.672 kB / 0.8245 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.6768, allocations: 10.12 kB / 0.8246 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.6768, allocations: 0.8438 kB / 0.8246 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of Templates: time 0.005636/0.6825, allocations: 1.765 MB / 0.8263 GB, free: 24.27 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: 7.009708913043141] Failed to read output from testmodel.py, exit status != 0: 0.6923260483890772 0.7116543399999999 0.03967820199999994 Calling exit ...