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.001808/0.001808, 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.002307/0.002307, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.252/1.252, allocations: 154.8 MB / 414.3 MB, free: 464 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.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.865e-06/2.865e-06, allocations: 0 / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.803e-05/4.09e-05, allocations: 9.047 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.002175/0.002216, allocations: 0.6275 MB / 0.5205 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.004219, allocations: 1.209 MB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.004277, allocations: 1.094 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.004313, allocations: 7.875 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.004417, allocations: 19.86 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007744/0.005191, allocations: 209.5 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.005467, allocations: 169.5 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.005567, allocations: 11.97 kB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.005758, allocations: 92 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.005896, allocations: 51.91 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.005933, allocations: 16 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.006016, allocations: 29.73 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.006043, allocations: 11.92 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.181e-05/0.006134, allocations: 43.97 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.006422, allocations: 187.5 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.006426, allocations: 0 / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006427, allocations: 0.75 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.006431, allocations: 0 / 0.5225 GB, free: 15.61 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.0006191/0.00705, allocations: 359 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.007091, allocations: 8.031 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.466e-05/0.007176, allocations: 16.89 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.007301, allocations: 111.1 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.007325, allocations: 4.375 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.007361, allocations: 12.38 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.007494, allocations: 54.17 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.007502, allocations: 1.75 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.007513, allocations: 384 / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.007528, allocations: 384 / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.007571, allocations: 15.94 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.008087, allocations: 278.9 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.427e-05/0.008181, allocations: 34.5 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.008215, allocations: 12.86 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.008229, allocations: 4.094 kB / 0.5234 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.008459, allocations: 83.3 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.008462, allocations: 0.5625 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003197/0.008781, allocations: 105.6 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.008836, allocations: 55.97 kB / 0.5236 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.008963, allocations: 122.6 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.009005, allocations: 33.7 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.0091, allocations: 96.08 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.009122, allocations: 17.38 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.00923, allocations: 49.69 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.009407, allocations: 322.8 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.009614, allocations: 123.4 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.009832, allocations: 148.6 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.01007, allocations: 165.1 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01007, allocations: 0 / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005813/0.01065, allocations: 337.2 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.649e-05/0.01073, allocations: 72.08 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01073, allocations: 0 / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.01076, allocations: 1.281 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.483e-05/0.01078, allocations: 4 kB / 0.525 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.01079, allocations: 0 / 0.525 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.01118, allocations: 55.75 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.01122, allocations: 15.98 kB / 0.5251 GB, free: 12.67 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,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.0001325/0.01135, allocations: 121.8 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.01138, allocations: 15.88 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.01141, allocations: 8.5 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.01142, allocations: 11.98 kB / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01142, allocations: 3.031 kB / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01143, allocations: 0 / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.01157, allocations: 113.3 kB / 0.5253 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.01157, allocations: 4 kB / 0.5253 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-06/0.01158, allocations: 0 / 0.5253 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.01159, allocations: 7.922 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.0116, allocations: 0 / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.0116, allocations: 0 / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.0116, allocations: 5.5 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.01179, allocations: 117.3 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.0118, allocations: 4 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.01182, allocations: 3.938 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.01184, allocations: 0.5 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.01189, allocations: 11.98 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.0119, allocations: 6.438 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.997e-05/0.01197, allocations: 91.27 kB / 0.5256 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01197, allocations: 0 / 0.5256 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002603/0.01223, allocations: 35.89 kB / 0.5256 GB, free: 12.07 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,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.0001999/0.01243, allocations: 109.4 kB / 0.5257 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.01286, allocations: 274.2 kB / 0.526 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01286, allocations: 0 / 0.526 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.01291, allocations: 31.91 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.01318, allocations: 17.8 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.01361, allocations: 165.1 kB / 0.5262 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.048e-05/0.01369, allocations: 72.36 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.01372, allocations: 4 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.01375, allocations: 13.44 kB / 0.5263 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.01375, allocations: 0 / 0.5263 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.008126/0.02188, allocations: 2.047 MB / 0.5283 GB, free: 9.383 MB / 0.4948 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.96349758002907]