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.0009942/0.0009942, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001049/0.001049, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9515/0.9515, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.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-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 0.9281/0.9281, allocations: 154.9 MB / 415.9 MB, free: 240 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 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: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.5219 GB, free: 1.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.075e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001363/0.001383, allocations: 0.6424 MB / 0.5225 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002621, allocations: 1.235 MB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.002672, allocations: 4.844 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.002704, allocations: 7.922 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.647e-05/0.00278, allocations: 12.83 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.003243, allocations: 212.9 kB / 0.524 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.003411, allocations: 172.7 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.157e-05/0.003483, allocations: 11.97 kB / 0.5241 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.003588, allocations: 93.62 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.003686, allocations: 51.91 kB / 0.5243 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.003711, allocations: 16 kB / 0.5243 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.003767, allocations: 27.98 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.003786, allocations: 11.92 kB / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.003832, allocations: 48.52 kB / 0.5244 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.00398, allocations: 143.6 kB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003982, allocations: 4.5 kB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003983, allocations: 1.031 kB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003986, allocations: 0 / 0.5245 GB, free: 14.89 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.0003593/0.004346, allocations: 459.9 kB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.004376, allocations: 9.25 kB / 0.525 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.004416, allocations: 16.89 kB / 0.525 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.004495, allocations: 112.6 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.004508, allocations: 9 kB / 0.5251 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.004526, allocations: 12.36 kB / 0.5251 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.313e-05/0.00459, allocations: 43.66 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004596, allocations: 192 / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.004604, allocations: 8.359 kB / 0.5252 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004609, allocations: 384 / 0.5252 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.577e-05/0.004624, allocations: 12.75 kB / 0.5252 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.004905, allocations: 309.4 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.004965, allocations: 42.98 kB / 0.5255 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.00498, allocations: 11.69 kB / 0.5255 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.004985, allocations: 1.031 kB / 0.5255 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.316e-05/0.005078, allocations: 77.11 kB / 0.5256 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.005079, allocations: 0.9688 kB / 0.5256 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001555/0.005235, allocations: 113.4 kB / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.005264, allocations: 51.41 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.005337, allocations: 178.4 kB / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.005357, allocations: 34.42 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.005417, allocations: 138.8 kB / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.00543, allocations: 20.64 kB / 0.5261 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.005491, allocations: 55.33 kB / 0.5262 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.0056, allocations: 497 kB / 0.5266 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.043e-05/0.005681, allocations: 99.38 kB / 0.5267 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.837e-05/0.005779, allocations: 160.6 kB / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.005886, allocations: 157.7 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005887, allocations: 0 / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000254/0.006141, allocations: 305.4 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.00618, allocations: 71.33 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006184, allocations: 0 / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.006193, allocations: 4.562 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.345e-05/0.006206, allocations: 0.5625 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.00621, allocations: 4 kB / 0.5274 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.006359, allocations: 38.25 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.006383, allocations: 15.98 kB / 0.5274 GB, free: 11.57 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 7.457e-05/0.006457, allocations: 164.5 kB / 0.5276 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.00647, allocations: 17.38 kB / 0.5276 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.006491, allocations: 12.38 kB / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006493, allocations: 0 / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006494, allocations: 0 / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006497, allocations: 0.5938 kB / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.119e-05/0.006578, allocations: 110.4 kB / 0.5277 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.00658, allocations: 0 / 0.5277 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-06/0.006585, allocations: 4 kB / 0.5277 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.006587, allocations: 2.75 kB / 0.5277 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.006594, allocations: 7.984 kB / 0.5277 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006594, allocations: 0 / 0.5277 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.006598, allocations: 7.938 kB / 0.5278 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.006698, allocations: 112.3 kB / 0.5279 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-06/0.006706, allocations: 7.953 kB / 0.5279 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.006715, allocations: 7.938 kB / 0.5279 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.006727, allocations: 4 kB / 0.5279 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.006754, allocations: 10.42 kB / 0.5279 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.00676, allocations: 4 kB / 0.5279 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.006795, allocations: 127.2 kB / 0.528 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006795, allocations: 0 / 0.528 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001526/0.006948, allocations: 32 kB / 0.528 GB, free: 10.9 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 9.403e-05/0.007042, allocations: 99.83 kB / 0.5281 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.007244, allocations: 275.2 kB / 0.5284 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.007245, allocations: 0 / 0.5284 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.007269, allocations: 28.27 kB / 0.5284 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.007426, allocations: 23.61 kB / 0.5285 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.007635, allocations: 162.7 kB / 0.5286 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.749e-05/0.007663, allocations: 63.34 kB / 0.5287 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.007681, allocations: 4 kB / 0.5287 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.00778, allocations: 102.2 kB / 0.5288 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.007781, allocations: 0 / 0.5288 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.003399/0.01118, allocations: 2.284 MB / 0.531 GB, free: 7.902 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: 4.049291343893856]