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.001658/0.001658, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002096/0.002096, allocations: 211.3 kB / 22.24 MB, free: 4.863 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.809 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.302/1.302, allocations: 203.8 MB / 0.5042 GB, free: 4.621 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.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.002509/0.002509, allocations: 59.91 kB / 0.7186 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.6041, allocations: 102 MB / 0.8183 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001974/0.606, allocations: 0.6374 MB / 0.8189 GB, free: 28.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.6075, allocations: 1.207 MB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.6076, allocations: 1.25 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.6076, allocations: 5.016 kB / 0.8201 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.6077, allocations: 15.86 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.6083, allocations: 220.4 kB / 0.8203 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.6086, allocations: 171.3 kB / 0.8205 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.6087, allocations: 10.23 kB / 0.8205 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.6088, allocations: 73.05 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.6089, allocations: 58.33 kB / 0.8206 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.609, allocations: 17.31 kB / 0.8206 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.6091, allocations: 31.83 kB / 0.8206 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.6091, allocations: 8.969 kB / 0.8207 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.6092, allocations: 57.19 kB / 0.8207 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.6095, allocations: 147 kB / 0.8208 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6095, allocations: 0.9688 kB / 0.8208 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6095, allocations: 1.344 kB / 0.8209 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.6095, allocations: 0 / 0.8209 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005149/0.61, allocations: 359.4 kB / 0.8212 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.61, allocations: 9.969 kB / 0.8212 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.6101, allocations: 14.33 kB / 0.8212 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.6102, allocations: 111.1 kB / 0.8213 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.6102, allocations: 9.609 kB / 0.8213 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.6103, allocations: 10.12 kB / 0.8213 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.6104, allocations: 54.91 kB / 0.8214 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.6104, allocations: 1.469 kB / 0.8214 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6104, allocations: 9.781 kB / 0.8214 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6104, allocations: 1.031 kB / 0.8214 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/0.6105, allocations: 18.64 kB / 0.8214 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.611, allocations: 275.3 kB / 0.8217 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.684e-05/0.6111, allocations: 35.56 kB / 0.8217 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.6111, allocations: 24.69 kB / 0.8217 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.6112, allocations: 1.625 kB / 0.8217 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.6114, allocations: 79.86 kB / 0.8218 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.6114, allocations: 0.5 kB / 0.8218 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004193/0.6118, allocations: 109.7 kB / 0.8219 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.6119, allocations: 53.75 kB / 0.822 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.612, allocations: 117.7 kB / 0.8221 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.612, allocations: 29.98 kB / 0.8221 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.6121, allocations: 100 kB / 0.8222 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.6121, allocations: 15.27 kB / 0.8222 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.6123, allocations: 54.22 kB / 0.8223 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.6124, allocations: 318.6 kB / 0.8226 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.6125, allocations: 121.2 kB / 0.8227 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.6127, allocations: 151.6 kB / 0.8228 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.6129, allocations: 164.4 kB / 0.823 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6129, allocations: 2.031 kB / 0.823 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004423/0.6133, allocations: 329.2 kB / 0.8233 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.6134, allocations: 73.25 kB / 0.8234 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6134, allocations: 1.891 kB / 0.8234 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.6134, allocations: 2.594 kB / 0.8234 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.113e-05/0.6134, allocations: 2.031 kB / 0.8234 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6134, allocations: 3.234 kB / 0.8234 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.6138, allocations: 59.56 kB / 0.8235 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.6138, allocations: 15.38 kB / 0.8235 GB, free: 25.09 MB / 0.6387 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 9.03e-05/0.6139, allocations: 125.4 kB / 0.8236 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.6139, allocations: 7.219 kB / 0.8236 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.614, allocations: 11.56 kB / 0.8236 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.614, allocations: 0 / 0.8236 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.614, allocations: 9.5 kB / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.614, allocations: 0.7969 kB / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.48e-05/0.6141, allocations: 128.6 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6141, allocations: 0 / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.6141, allocations: 2.109 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6141, allocations: 1.312 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.6141, allocations: 2.125 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6141, allocations: 0.8438 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6141, allocations: 3.938 kB / 0.8237 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.6142, allocations: 114 kB / 0.8239 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-06/0.6142, allocations: 2.406 kB / 0.8239 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.6143, allocations: 2.453 kB / 0.8239 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.6143, allocations: 2.297 kB / 0.8239 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.6143, allocations: 11.03 kB / 0.8239 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.6143, allocations: 5.641 kB / 0.8239 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.6144, allocations: 94.19 kB / 0.824 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6144, allocations: 0 / 0.824 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002427/0.6146, allocations: 32.8 kB / 0.824 GB, free: 24.64 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: 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.0001394/0.6147, allocations: 100.1 kB / 0.8241 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.6151, allocations: 284.2 kB / 0.8244 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6151, allocations: 1.156 kB / 0.8244 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.6151, allocations: 24.81 kB / 0.8244 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.6154, allocations: 16.58 kB / 0.8244 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.6157, allocations: 163.4 kB / 0.8246 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.172e-05/0.6157, allocations: 73.94 kB / 0.8246 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.6158, allocations: 8.375 kB / 0.8246 GB, free: 24.08 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.6158, allocations: 11.73 kB / 0.8247 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.6158, allocations: 0 / 0.8247 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of Templates: time 0.005881/0.6217, allocations: 2.112 MB / 0.8267 GB, free: 23.82 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.836987651884556] Failed to read output from testmodel.py, exit status != 0: 0.6303539611399174 0.644134887 0.031825834000000004 Calling exit ...