Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.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.0006736/0.0006736, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0006962/0.0006962, allocations: 211.2 kB / 23 MB, free: 2.977 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.8577/0.8577, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7221/0.7221, allocations: 203.8 MB / 0.5049 GB, free: 10.39 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [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.001007/0.001007, allocations: 65.81 kB / 0.7194 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4074, allocations: 102 MB / 0.819 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00137/0.4088, allocations: 0.6342 MB / 0.8196 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009859/0.4098, allocations: 1.212 MB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.4098, allocations: 0 / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.4099, allocations: 0.7031 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.4099, allocations: 15.75 kB / 0.8208 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.4105, allocations: 215 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.4107, allocations: 175.1 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.4108, allocations: 11.62 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.469e-05/0.4108, allocations: 77.14 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.411, allocations: 58.39 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.411, allocations: 15.19 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-05/0.411, allocations: 27.08 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.4111, allocations: 9.453 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.4111, allocations: 52.33 kB / 0.8215 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.4113, allocations: 155.3 kB / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4113, allocations: 0 / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4113, allocations: 0 / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4113, allocations: 0 / 0.8216 GB, free: 15.72 MB / 0.6198 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.0004524/0.4118, allocations: 364.6 kB / 0.822 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.4118, allocations: 8.25 kB / 0.822 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.4119, allocations: 14.08 kB / 0.822 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.439e-05/0.412, allocations: 109.6 kB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.412, allocations: 15.08 kB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.412, allocations: 8.844 kB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.4121, allocations: 49.03 kB / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4121, allocations: 1.172 kB / 0.8222 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4121, allocations: 6.438 kB / 0.8222 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4121, allocations: 0 / 0.8222 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.219e-05/0.4121, allocations: 13.88 kB / 0.8222 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.4125, allocations: 283.8 kB / 0.8224 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.4126, allocations: 34.39 kB / 0.8225 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.4126, allocations: 21.05 kB / 0.8225 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.4126, allocations: 0 / 0.8225 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.4128, allocations: 78.84 kB / 0.8226 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4128, allocations: 3.938 kB / 0.8226 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002078/0.413, allocations: 112.2 kB / 0.8227 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.413, allocations: 53.78 kB / 0.8227 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.4131, allocations: 118.7 kB / 0.8228 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4131, allocations: 32.73 kB / 0.8229 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.4131, allocations: 99.86 kB / 0.823 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.4132, allocations: 15.17 kB / 0.823 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.4132, allocations: 48.8 kB / 0.823 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.4133, allocations: 319.3 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.4134, allocations: 121.7 kB / 0.8235 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.4135, allocations: 154.8 kB / 0.8236 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.4137, allocations: 170.8 kB / 0.8238 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4137, allocations: 4 kB / 0.8238 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003133/0.414, allocations: 322.1 kB / 0.8241 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.4141, allocations: 67.7 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4141, allocations: 2.719 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4141, allocations: 1.188 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.911e-05/0.4141, allocations: 3.516 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4141, allocations: 1.562 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.4143, allocations: 61.09 kB / 0.8242 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.4143, allocations: 14.91 kB / 0.8242 GB, free: 13.46 MB / 0.6198 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,xor1.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 7.747e-05/0.4144, allocations: 127.9 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.4144, allocations: 7.297 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.4144, allocations: 14.28 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4144, allocations: 2.453 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4144, allocations: 0 / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.4144, allocations: 5.188 kB / 0.8244 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.315e-05/0.4145, allocations: 128.7 kB / 0.8245 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4145, allocations: 1.188 kB / 0.8245 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-06/0.4145, allocations: 1.406 kB / 0.8245 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.4145, allocations: 0.6562 kB / 0.8245 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.4146, allocations: 1.719 kB / 0.8245 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4146, allocations: 1.406 kB / 0.8245 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4146, allocations: 0.8906 kB / 0.8245 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.4147, allocations: 124.9 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.4147, allocations: 2.672 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.4147, allocations: 2.234 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.613e-05/0.4147, allocations: 5.953 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.4148, allocations: 11.09 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4148, allocations: 3.141 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.4148, allocations: 90.67 kB / 0.8247 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4148, allocations: 0 / 0.8247 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001632/0.415, allocations: 31.92 kB / 0.8248 GB, free: 12.98 MB / 0.6198 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,xor1.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 0.0001149/0.4151, allocations: 104 kB / 0.8249 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.4154, allocations: 282 kB / 0.8251 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4154, allocations: 4.25 kB / 0.8251 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/0.4154, allocations: 30.53 kB / 0.8252 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.4156, allocations: 21.61 kB / 0.8252 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.4159, allocations: 184.7 kB / 0.8254 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.4159, allocations: 69.48 kB / 0.8254 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.416, allocations: 11.84 kB / 0.8254 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.416, allocations: 0 / 0.8254 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.002531/0.4185, allocations: 1.419 MB / 0.8268 GB, free: 12.25 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.302390432916582] Failed to read output from testmodel.py, exit status != 0: 0.42393658170476556 0.436986041 0.021130715 Calling exit ...