Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.0009221/0.0009221, 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.001153/0.001153, allocations: 215.9 kB / 23.01 MB, free: 3.102 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.8746/0.8746, allocations: 230.6 MB / 256.8 MB, free: 3.43 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.736/0.736, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [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.0008956/0.0008956, allocations: 59.91 kB / 0.7195 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4285, allocations: 102 MB / 0.8191 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001336/0.4299, allocations: 0.6458 MB / 0.8197 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.431, allocations: 1.226 MB / 0.8209 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.4311, allocations: 0 / 0.8209 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.4311, allocations: 7.031 kB / 0.8209 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.4312, allocations: 7 kB / 0.8209 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.4317, allocations: 223.6 kB / 0.8212 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.432, allocations: 170.6 kB / 0.8213 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.4321, allocations: 9.219 kB / 0.8213 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.4322, allocations: 67.11 kB / 0.8214 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.4323, allocations: 64.3 kB / 0.8214 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.4323, allocations: 20.91 kB / 0.8215 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.4324, allocations: 29.42 kB / 0.8215 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.4324, allocations: 8.906 kB / 0.8215 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.4325, allocations: 60.69 kB / 0.8216 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.4327, allocations: 149.7 kB / 0.8217 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.4327, allocations: 1.25 kB / 0.8217 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4327, allocations: 0 / 0.8217 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4327, allocations: 0.9688 kB / 0.8217 GB, free: 23.56 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003668/0.433, allocations: 362.6 kB / 0.8221 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4331, allocations: 10.84 kB / 0.8221 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.4331, allocations: 16.55 kB / 0.8221 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.402e-05/0.4332, allocations: 117 kB / 0.8222 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4332, allocations: 5.531 kB / 0.8222 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.4332, allocations: 9.719 kB / 0.8222 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.395e-05/0.4333, allocations: 51.27 kB / 0.8223 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4333, allocations: 192 / 0.8223 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4333, allocations: 5.031 kB / 0.8223 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4333, allocations: 6.562 kB / 0.8223 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.4334, allocations: 13.34 kB / 0.8223 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.4338, allocations: 324.9 kB / 0.8226 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.4338, allocations: 36.39 kB / 0.8226 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.4339, allocations: 16.47 kB / 0.8226 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.4339, allocations: 0 / 0.8226 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.434, allocations: 89.7 kB / 0.8227 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 6.72e-07/0.434, allocations: 0 / 0.8227 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002073/0.4342, allocations: 104 kB / 0.8228 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.4342, allocations: 53.53 kB / 0.8229 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.4343, allocations: 115.9 kB / 0.823 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4343, allocations: 30.48 kB / 0.823 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.4344, allocations: 94.48 kB / 0.8231 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.4344, allocations: 23.02 kB / 0.8231 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.4344, allocations: 49.25 kB / 0.8232 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.308e-05/0.4345, allocations: 319.3 kB / 0.8235 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.4346, allocations: 62.53 kB / 0.8235 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.4347, allocations: 97.75 kB / 0.8236 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4348, allocations: 156.9 kB / 0.8238 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4348, allocations: 0.5312 kB / 0.8238 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002782/0.4351, allocations: 265 kB / 0.824 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.4351, allocations: 68.34 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4351, allocations: 1.188 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4351, allocations: 2.703 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.942e-05/0.4351, allocations: 3.516 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.4351, allocations: 5.188 kB / 0.8241 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.4354, allocations: 59.64 kB / 0.8242 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.4354, allocations: 20.56 kB / 0.8242 GB, free: 21.48 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 5.999e-05/0.4354, allocations: 126 kB / 0.8243 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.4355, allocations: 7.516 kB / 0.8243 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.4355, allocations: 10.47 kB / 0.8243 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.4355, allocations: 1.094 kB / 0.8243 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4355, allocations: 0.5938 kB / 0.8243 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4355, allocations: 1.391 kB / 0.8243 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.559e-05/0.4356, allocations: 153.7 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4356, allocations: 4.469 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-06/0.4356, allocations: 2.266 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4356, allocations: 0.5938 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.4356, allocations: 2.672 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4356, allocations: 0.5625 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.4356, allocations: 0 / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.4357, allocations: 119.7 kB / 0.8246 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.4357, allocations: 3.016 kB / 0.8246 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.4357, allocations: 6.016 kB / 0.8246 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.4357, allocations: 5.797 kB / 0.8246 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.4358, allocations: 8.766 kB / 0.8246 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4358, allocations: 3.328 kB / 0.8246 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.4358, allocations: 89.97 kB / 0.8247 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4358, allocations: 0 / 0.8247 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001751/0.436, allocations: 28.31 kB / 0.8247 GB, free: 20.99 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.746e-05/0.4361, allocations: 109.1 kB / 0.8248 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.4363, allocations: 218.6 kB / 0.825 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4363, allocations: 1.344 kB / 0.8251 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.4363, allocations: 25.36 kB / 0.8251 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.4365, allocations: 15.12 kB / 0.8251 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.4367, allocations: 184.6 kB / 0.8253 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.4368, allocations: 0.6896 MB / 0.8259 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.4368, allocations: 11.34 kB / 0.8259 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4368, allocations: 1.281 kB / 0.826 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.002451/0.4393, allocations: 1.378 MB / 0.8273 GB, free: 19.72 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.481671168003231] Failed to read output from testmodel.py, exit status != 0: 0.44444550294429064 0.452171289 0.017877089000000002 Calling exit ...