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.0006619/0.0006619, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.000686/0.000686, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.8347/0.8347, allocations: 177.1 MB / 203.5 MB, free: 5.758 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-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.689/0.689, allocations: 154.5 MB / 414.5 MB, free: 0.8594 MB / 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 2.875e-06/2.875e-06, allocations: 0 / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.939e-05, allocations: 9.234 kB / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001195/0.001224, allocations: 0.6373 MB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.002241, allocations: 1.205 MB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.002278, allocations: 4 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.002305, allocations: 3.938 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.007e-05/0.002365, allocations: 19.84 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.002803, allocations: 214.5 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.002961, allocations: 175.7 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.003041, allocations: 3.984 kB / 0.6215 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.003137, allocations: 99.92 kB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.458e-05/0.003232, allocations: 55.84 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.003254, allocations: 19.94 kB / 0.6217 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.003306, allocations: 23.98 kB / 0.6217 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.003326, allocations: 11.98 kB / 0.6217 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.00338, allocations: 47.89 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.003566, allocations: 187.6 kB / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003568, allocations: 0 / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003569, allocations: 0 / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.003573, allocations: 0 / 0.6219 GB, free: 10.55 MB / 0.5886 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.0003837/0.003957, allocations: 365.5 kB / 0.6223 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.003989, allocations: 13.47 kB / 0.6223 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.004035, allocations: 8.891 kB / 0.6223 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.753e-05/0.004102, allocations: 109.8 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.004117, allocations: 8.375 kB / 0.6224 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.004136, allocations: 12.38 kB / 0.6224 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/0.004218, allocations: 50.19 kB / 0.6225 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.004225, allocations: 4.125 kB / 0.6225 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.004235, allocations: 8.359 kB / 0.6225 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.004238, allocations: 384 / 0.6225 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.004271, allocations: 19.94 kB / 0.6225 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.004589, allocations: 268.5 kB / 0.6227 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.004651, allocations: 42.5 kB / 0.6228 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.004671, allocations: 12.86 kB / 0.6228 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.004679, allocations: 0 / 0.6228 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/0.004784, allocations: 87.39 kB / 0.6229 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.004785, allocations: 0 / 0.6229 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001865/0.004972, allocations: 109.5 kB / 0.623 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.005002, allocations: 51.41 kB / 0.623 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.278e-05/0.005065, allocations: 121.8 kB / 0.6231 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.005084, allocations: 33.7 kB / 0.6232 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.005127, allocations: 100.1 kB / 0.6233 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.005137, allocations: 11.91 kB / 0.6233 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.005192, allocations: 45.69 kB / 0.6233 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.005266, allocations: 322.8 kB / 0.6236 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.005371, allocations: 119.4 kB / 0.6238 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.005489, allocations: 155.7 kB / 0.6239 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.005604, allocations: 152.1 kB / 0.624 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.005607, allocations: 8 kB / 0.6241 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002683/0.005875, allocations: 336.1 kB / 0.6244 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.005913, allocations: 71.39 kB / 0.6244 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005918, allocations: 0 / 0.6244 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.005928, allocations: 3.938 kB / 0.6244 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.451e-05/0.005942, allocations: 7.938 kB / 0.6245 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005946, allocations: 0 / 0.6245 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.006122, allocations: 56.06 kB / 0.6245 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.006141, allocations: 15.98 kB / 0.6245 GB, free: 7.59 MB / 0.5886 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 6.461e-05/0.006206, allocations: 118.8 kB / 0.6246 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.006213, allocations: 7.891 kB / 0.6246 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.006234, allocations: 16.42 kB / 0.6247 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006236, allocations: 3.984 kB / 0.6247 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.00624, allocations: 0 / 0.6247 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006243, allocations: 0 / 0.6247 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.376e-05/0.006306, allocations: 125.2 kB / 0.6248 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.006307, allocations: 4 kB / 0.6248 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-06/0.00631, allocations: 0 / 0.6248 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006313, allocations: 7.938 kB / 0.6248 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.00632, allocations: 8.047 kB / 0.6248 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.006321, allocations: 0 / 0.6248 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006321, allocations: 0 / 0.6248 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.608e-05/0.006417, allocations: 109.1 kB / 0.6249 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.006423, allocations: 4 kB / 0.6249 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.006433, allocations: 3.938 kB / 0.6249 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.006446, allocations: 8 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.006477, allocations: 7.984 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.006481, allocations: 4 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.006512, allocations: 95.2 kB / 0.625 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006512, allocations: 0 / 0.625 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001465/0.006659, allocations: 35.95 kB / 0.6251 GB, free: 6.98 MB / 0.5886 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.554e-05/0.006754, allocations: 106.6 kB / 0.6252 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.006988, allocations: 282.8 kB / 0.6254 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006989, allocations: 0 / 0.6254 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.007022, allocations: 28.22 kB / 0.6255 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.00717, allocations: 26.88 kB / 0.6255 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.007413, allocations: 183.2 kB / 0.6257 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/0.007452, allocations: 71.33 kB / 0.6257 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.00747, allocations: 16.44 kB / 0.6257 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.00747, allocations: 0 / 0.6257 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of Templates: time 0.001824/0.009294, allocations: 1.413 MB / 0.6271 GB, free: 4.793 MB / 0.5886 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: 4.976041535846889] Failed to read output from testmodel.py, exit status != 0: 0.013979940675199032 0.020834799 0.015754889 Calling exit ...