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.002463/0.002463, allocations: 85.48 kB / 19.44 MB, free: 344 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.003046/0.003046, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.25 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.318/1.318, allocations: 154.8 MB / 414.4 MB, free: 408 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 1.674e-06/1.674e-06, allocations: 0 / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.729e-05, allocations: 5.812 kB / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001766/0.001793, allocations: 0.6393 MB / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.003832, allocations: 1.213 MB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.003874, allocations: 1.125 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.003899, allocations: 3.938 kB / 0.5217 GB, free: 416 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.003981, allocations: 16.48 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.004613, allocations: 212.8 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.004871, allocations: 176.6 kB / 0.5221 GB, free: 12 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.004949, allocations: 8 kB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.005131, allocations: 93.67 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.005265, allocations: 51.84 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.005325, allocations: 16 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.824e-05/0.005413, allocations: 27.98 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.005434, allocations: 4 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.78e-05/0.005531, allocations: 56.44 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.005818, allocations: 180.1 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00582, allocations: 4.969 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.005821, allocations: 4 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.005825, allocations: 0 / 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.0006403/0.006465, allocations: 464.4 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.006502, allocations: 12.03 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.006574, allocations: 12.89 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.0067, allocations: 113.2 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.006721, allocations: 9.531 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.006754, allocations: 12.38 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.00687, allocations: 50.19 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.006879, allocations: 0.9062 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.006887, allocations: 384 / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.006891, allocations: 1.969 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.006938, allocations: 19.92 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.007473, allocations: 331.7 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.007572, allocations: 46.98 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.007609, allocations: 17.25 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.007622, allocations: 3.984 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.007767, allocations: 85.06 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.007768, allocations: 0 / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002913/0.00806, allocations: 114.3 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.008114, allocations: 59.39 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.008289, allocations: 183 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.00833, allocations: 33.7 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.008449, allocations: 146.8 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.00847, allocations: 13.09 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.008588, allocations: 59.34 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000267/0.008855, allocations: 496.1 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.009067, allocations: 141.7 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.009336, allocations: 181.8 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.009591, allocations: 185.7 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.009593, allocations: 1.656 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006028/0.0102, allocations: 364.6 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.021e-05/0.01027, allocations: 71.95 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01027, allocations: 3.984 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.01029, allocations: 4.875 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.13e-05/0.01031, allocations: 4 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01031, allocations: 1.125 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.0106, allocations: 36.69 kB / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.01064, allocations: 11.98 kB / 0.5256 GB, free: 12.04 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.0001563/0.01079, allocations: 175.8 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.01082, allocations: 20.47 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.01085, allocations: 8.438 kB / 0.5258 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01085, allocations: 2.781 kB / 0.5258 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01085, allocations: 0 / 0.5258 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01086, allocations: 0 / 0.5258 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.01101, allocations: 132.6 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01101, allocations: 0 / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.01103, allocations: 4 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.01103, allocations: 3.984 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01105, allocations: 8 kB / 0.526 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01105, allocations: 3.031 kB / 0.526 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01105, allocations: 0 / 0.526 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.01125, allocations: 132.6 kB / 0.5261 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.01126, allocations: 0 / 0.5261 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01128, allocations: 7.938 kB / 0.5261 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.0113, allocations: 0 / 0.5261 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.01134, allocations: 3.984 kB / 0.5261 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.01134, allocations: 8 kB / 0.5261 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.179e-05/0.01144, allocations: 140.6 kB / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01144, allocations: 0 / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002405/0.01168, allocations: 31.95 kB / 0.5263 GB, free: 11.31 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.000164/0.01184, allocations: 110.4 kB / 0.5264 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004825/0.01232, allocations: 329.8 kB / 0.5267 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01232, allocations: 0 / 0.5267 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.814e-05/0.01239, allocations: 39.61 kB / 0.5268 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.01262, allocations: 15.83 kB / 0.5268 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.013, allocations: 166.8 kB / 0.5269 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.6e-05/0.01307, allocations: 71.33 kB / 0.527 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.0131, allocations: 7.938 kB / 0.527 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.01313, allocations: 13.66 kB / 0.527 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01313, allocations: 0 / 0.527 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.006128/0.01926, allocations: 2.037 MB / 0.529 GB, free: 8.551 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.035068722907454]