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.001849/0.001849, allocations: 93.47 kB / 19.44 MB, free: 336 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.001937/0.001937, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.389/1.389, allocations: 154.8 MB / 414.4 MB, free: 460 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.736e-06/2.736e-06, allocations: 0.875 kB / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.538e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001977/0.002012, allocations: 0.6428 MB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.003887, allocations: 1.215 MB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.00393, allocations: 0 / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.003957, allocations: 3.938 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.693e-05/0.004044, allocations: 19.84 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.004678, allocations: 213 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.004938, allocations: 173 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.005021, allocations: 11.94 kB / 0.5221 GB, free: 8 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.005333, allocations: 92 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.005469, allocations: 56.39 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.00551, allocations: 12 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.005596, allocations: 36.72 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.005618, allocations: 4 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.505e-05/0.005713, allocations: 57.34 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.005993, allocations: 175.6 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005996, allocations: 4 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005997, allocations: 0 / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.006001, allocations: 1.25 kB / 0.5225 GB, free: 15.58 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.0006435/0.006644, allocations: 463.5 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.006682, allocations: 12.03 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.006757, allocations: 20.52 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.006885, allocations: 112.6 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.006904, allocations: 4.375 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.006935, allocations: 8.375 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.007064, allocations: 62.11 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.007073, allocations: 192 / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.007082, allocations: 384 / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.007085, allocations: 384 / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.007139, allocations: 19.94 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.007668, allocations: 331.7 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.007774, allocations: 51.55 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.007813, allocations: 20.25 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.007826, allocations: 0.9688 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.007995, allocations: 89.05 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.007996, allocations: 0 / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002931/0.008289, allocations: 115 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.00834, allocations: 55.41 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.008507, allocations: 189.8 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.008546, allocations: 29.7 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.008658, allocations: 143.4 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.008679, allocations: 16.69 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.008794, allocations: 55.34 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002907/0.009085, allocations: 0.494 MB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.009303, allocations: 135.4 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.009557, allocations: 185.8 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.00982, allocations: 187.2 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009822, allocations: 0 / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000831/0.01065, allocations: 362.1 kB / 0.5255 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.407e-05/0.01073, allocations: 68.8 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01073, allocations: 6.125 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.01075, allocations: 0 / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.43e-05/0.01077, allocations: 4.062 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.01079, allocations: 8.297 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.01109, allocations: 46.7 kB / 0.5257 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.01113, allocations: 11.98 kB / 0.5257 GB, free: 12.02 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.0001466/0.01127, allocations: 170.8 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.0113, allocations: 11.89 kB / 0.5258 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.01133, allocations: 12.44 kB / 0.5259 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01133, allocations: 7.922 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.01134, allocations: 1.531 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01134, allocations: 0 / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.01149, allocations: 136.5 kB / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01149, allocations: 0 / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.01151, allocations: 8.938 kB / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01151, allocations: 0 / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.01152, allocations: 3.938 kB / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01152, allocations: 0.9375 kB / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.01153, allocations: 7.969 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.01173, allocations: 128.8 kB / 0.5261 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.01174, allocations: 4 kB / 0.5261 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01176, allocations: 8.688 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.01178, allocations: 0 / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.01183, allocations: 8.641 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.01184, allocations: 8 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.652e-05/0.01194, allocations: 139.9 kB / 0.5263 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01194, allocations: 0 / 0.5263 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002416/0.01218, allocations: 34.7 kB / 0.5263 GB, free: 11.28 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.0001812/0.01236, allocations: 95.25 kB / 0.5264 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004981/0.01286, allocations: 337.8 kB / 0.5267 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01286, allocations: 0 / 0.5267 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.01293, allocations: 46.72 kB / 0.5268 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01316, allocations: 15.98 kB / 0.5268 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.01354, allocations: 161.7 kB / 0.527 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.707e-05/0.01362, allocations: 71.33 kB / 0.527 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.01365, allocations: 5.812 kB / 0.527 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.01369, allocations: 12.5 kB / 0.527 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01369, allocations: 0 / 0.527 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.005696/0.01938, allocations: 2.069 MB / 0.5291 GB, free: 8.5 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.130145470960997]