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.001411/0.001411, allocations: 88.72 kB / 19.44 MB, free: 356 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.00164/0.00164, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.539/1.539, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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-535:34: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-535:42: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.239/1.239, allocations: 154.8 MB / 414.4 MB, free: 452 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.263e-05, allocations: 4.656 kB / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002484/0.002517, allocations: 0.6323 MB / 0.5205 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.004651, allocations: 1.208 MB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.004712, allocations: 0 / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.876e-05/0.00475, allocations: 9.406 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.004862, allocations: 15.88 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009258/0.005788, allocations: 208.5 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.006144, allocations: 180.4 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.006244, allocations: 8 kB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.006498, allocations: 97.27 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.0067, allocations: 51.89 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.006746, allocations: 16 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.006828, allocations: 24.88 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.006854, allocations: 11.92 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.006953, allocations: 52.67 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.007338, allocations: 187.5 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.007342, allocations: 0.7812 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.007343, allocations: 0 / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.007347, allocations: 0.8438 kB / 0.5225 GB, free: 15.6 MB / 0.4948 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.0007468/0.008094, allocations: 361.5 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.008138, allocations: 8.031 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.485e-05/0.008233, allocations: 15.2 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.008387, allocations: 109.8 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.008415, allocations: 8.375 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.008471, allocations: 16.36 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.008652, allocations: 50.19 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.008664, allocations: 192 / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.008678, allocations: 1.312 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.008683, allocations: 384 / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.591e-05/0.008759, allocations: 25.3 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.009463, allocations: 268.5 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.009589, allocations: 38.5 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.009641, allocations: 13.52 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.009656, allocations: 0 / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.009923, allocations: 84.22 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.009925, allocations: 0 / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004213/0.01035, allocations: 118.5 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.01042, allocations: 55.41 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.01059, allocations: 121.7 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.01065, allocations: 34.27 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.01078, allocations: 92.98 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.01081, allocations: 19.84 kB / 0.5239 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.01103, allocations: 50.31 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002764/0.0113, allocations: 318.8 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.01156, allocations: 120 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.01178, allocations: 154.7 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.01201, allocations: 166 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01202, allocations: 0 / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007649/0.01278, allocations: 345.9 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.018e-05/0.01287, allocations: 67.39 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01288, allocations: 0 / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.0129, allocations: 4 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.407e-05/0.01293, allocations: 1.75 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01294, allocations: 4 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.01344, allocations: 56.75 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.01349, allocations: 13.39 kB / 0.5251 GB, free: 12.64 MB / 0.4948 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 0.0001681/0.01366, allocations: 124.2 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.0137, allocations: 15.89 kB / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.01374, allocations: 13.45 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01374, allocations: 0 / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01375, allocations: 1.156 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01375, allocations: 0 / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.01389, allocations: 121.2 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01389, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.495e-06/0.0139, allocations: 3.094 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.01391, allocations: 3.938 kB / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.01392, allocations: 8 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01392, allocations: 3.984 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01392, allocations: 0 / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.01418, allocations: 113.3 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.01419, allocations: 4 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.01422, allocations: 7.938 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.378e-05/0.01425, allocations: 3.031 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.01431, allocations: 11.98 kB / 0.5255 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.01432, allocations: 4 kB / 0.5255 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.03e-05/0.01441, allocations: 91.27 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01441, allocations: 3.938 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004268/0.01484, allocations: 27.95 kB / 0.5256 GB, free: 12.04 MB / 0.4948 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.000238/0.01508, allocations: 108.7 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006378/0.01572, allocations: 274.1 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.01572, allocations: 4 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.01581, allocations: 29.39 kB / 0.526 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.01621, allocations: 19.61 kB / 0.5261 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.01675, allocations: 161.1 kB / 0.5262 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.01685, allocations: 71.98 kB / 0.5263 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.01689, allocations: 4.625 kB / 0.5263 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.01694, allocations: 16.98 kB / 0.5263 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of SimCode: time 4.1e-07/0.01694, allocations: 0 / 0.5263 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.007923/0.02487, allocations: 2.064 MB / 0.5283 GB, free: 9.336 MB / 0.4948 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.903132596984506]