Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.001894/0.001894, allocations: 80.25 kB / 19.18 MB, free: 2.527 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.002229/0.002229, allocations: 164.3 kB / 22.46 MB, free: 5.359 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.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.184/1.184, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.114e-05, allocations: 5.75 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001769/0.001801, allocations: 0.6294 MB / 0.6191 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.003859, allocations: 1.211 MB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.003939, allocations: 4 kB / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.003972, allocations: 5.156 kB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.532e-05/0.004067, allocations: 11.88 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008465/0.004914, allocations: 218.1 kB / 0.6206 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.005197, allocations: 184.7 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.005293, allocations: 7.984 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.005466, allocations: 91.92 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.005624, allocations: 55.84 kB / 0.6209 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.005668, allocations: 16 kB / 0.6209 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.005756, allocations: 24 kB / 0.6209 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.778e-05/0.005794, allocations: 11.98 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.555e-05/0.00589, allocations: 51.89 kB / 0.621 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.006187, allocations: 179.6 kB / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006189, allocations: 0 / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00619, allocations: 0 / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.006195, allocations: 3.938 kB / 0.6212 GB, free: 1.98 MB / 0.5294 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.0005901/0.006786, allocations: 353.6 kB / 0.6215 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.006828, allocations: 13.47 kB / 0.6215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.0069, allocations: 16.88 kB / 0.6215 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.007021, allocations: 113.7 kB / 0.6216 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.007042, allocations: 8.375 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.00707, allocations: 12.38 kB / 0.6216 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.007183, allocations: 50.23 kB / 0.6217 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.007191, allocations: 192 / 0.6217 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.007201, allocations: 384 / 0.6217 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.007207, allocations: 4.375 kB / 0.6217 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.007248, allocations: 19.86 kB / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.0077, allocations: 280.4 kB / 0.622 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.00778, allocations: 38.56 kB / 0.622 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.007808, allocations: 12.86 kB / 0.622 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.00782, allocations: 4 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.007989, allocations: 83.39 kB / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.00799, allocations: 0 / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002847/0.008275, allocations: 105.6 kB / 0.6222 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.008329, allocations: 55.41 kB / 0.6223 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.008432, allocations: 113.8 kB / 0.6224 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.008467, allocations: 29.7 kB / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.008555, allocations: 104.1 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.008572, allocations: 15.84 kB / 0.6225 GB, free: 420 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.008672, allocations: 53.69 kB / 0.6226 GB, free: 360 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.008819, allocations: 318.8 kB / 0.6229 GB, free: 32 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.009008, allocations: 115.4 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.00921, allocations: 159.6 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.009425, allocations: 155.6 kB / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009428, allocations: 0 / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005122/0.00994, allocations: 332.7 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.01001, allocations: 71.33 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01001, allocations: 0 / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.01003, allocations: 4 kB / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.89e-05/0.01005, allocations: 3.938 kB / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.01006, allocations: 4 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.01042, allocations: 60.02 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.01046, allocations: 11.98 kB / 0.6238 GB, free: 15.02 MB / 0.545 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,or1.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.0001303/0.01059, allocations: 125.2 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.01061, allocations: 11.89 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.01063, allocations: 8.438 kB / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01064, allocations: 4 kB / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01064, allocations: 0 / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01065, allocations: 3.984 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.01077, allocations: 117.3 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01077, allocations: 0 / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.01078, allocations: 8 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01079, allocations: 3.938 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.01079, allocations: 64 / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.0108, allocations: 4 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/0.01081, allocations: 4 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.01098, allocations: 113 kB / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.01099, allocations: 0 / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.01101, allocations: 11.92 kB / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.01103, allocations: 0 / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.01106, allocations: 0 / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01107, allocations: 11.98 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.01114, allocations: 91.28 kB / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01114, allocations: 0 / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002437/0.01138, allocations: 35.92 kB / 0.6243 GB, free: 14.42 MB / 0.545 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,or1.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.0001614/0.01155, allocations: 95.25 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004425/0.01199, allocations: 282.1 kB / 0.6246 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01199, allocations: 0 / 0.6246 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.01205, allocations: 23.92 kB / 0.6247 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.01234, allocations: 26.8 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.01274, allocations: 153.4 kB / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.5e-05/0.01281, allocations: 71.33 kB / 0.6249 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.895e-05/0.01284, allocations: 4 kB / 0.6249 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.01287, allocations: 20.44 kB / 0.6249 GB, free: 13.67 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.01287, allocations: 0 / 0.6249 GB, free: 13.67 MB / 0.545 GB Notification: Performance of Templates: time 0.005714/0.01858, allocations: 2.033 MB / 0.6269 GB, free: 11.7 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.880441270768642] Failed to read output from testmodel.py, exit status != 0: 0.02752971649169922 0.043520118 0.034129154 Calling exit ...