Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.001394/0.001394, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001625/0.001625, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.8017/0.8017, allocations: 154.8 MB / 415.1 MB, free: 0.4922 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.5206 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.323e-05, allocations: 4.141 kB / 0.5206 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001701/0.001735, allocations: 0.6526 MB / 0.5212 GB, free: 1.668 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.003218, allocations: 1.237 MB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.003266, allocations: 1.219 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.003302, allocations: 3.938 kB / 0.5224 GB, free: 424 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.003379, allocations: 11.92 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.003943, allocations: 213.9 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.004141, allocations: 171.7 kB / 0.5228 GB, free: 28 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.004243, allocations: 5.469 kB / 0.5228 GB, free: 24 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.004381, allocations: 95.86 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.004487, allocations: 47.91 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.004516, allocations: 16 kB / 0.523 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.004597, allocations: 32.52 kB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.004619, allocations: 7.938 kB / 0.523 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.004683, allocations: 53.16 kB / 0.5231 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.004955, allocations: 135.6 kB / 0.5232 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.004959, allocations: 0 / 0.5232 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.00496, allocations: 0.6875 kB / 0.5232 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.004965, allocations: 4 kB / 0.5232 GB, free: 15.64 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.0005339/0.005499, allocations: 460.5 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.005545, allocations: 9.344 kB / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/0.005618, allocations: 12.89 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.005743, allocations: 124.5 kB / 0.5238 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.005764, allocations: 8.375 kB / 0.5238 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.005792, allocations: 9.312 kB / 0.5238 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.0059, allocations: 46.23 kB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.005906, allocations: 0.6875 kB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.005917, allocations: 384 / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.005925, allocations: 3.875 kB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.005955, allocations: 15.92 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.006425, allocations: 327.6 kB / 0.5242 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.483e-05/0.00651, allocations: 35.06 kB / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.006539, allocations: 19.7 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.006546, allocations: 0 / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.006686, allocations: 80.97 kB / 0.5243 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.006688, allocations: 0 / 0.5243 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003417/0.007029, allocations: 102.1 kB / 0.5244 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.007081, allocations: 51.97 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.007222, allocations: 181.9 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.007255, allocations: 34.27 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.007338, allocations: 135.8 kB / 0.5248 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.007357, allocations: 11.91 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.007464, allocations: 59.33 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002553/0.00772, allocations: 0.4899 MB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.007883, allocations: 111.4 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.008059, allocations: 161.7 kB / 0.5256 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.00824, allocations: 163.1 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.008244, allocations: 1.969 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000442/0.008686, allocations: 320.2 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.00875, allocations: 67.39 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.008758, allocations: 0.5312 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.008781, allocations: 4 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.529e-05/0.008806, allocations: 0.5 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.00882, allocations: 12.64 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.009093, allocations: 37.91 kB / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.00913, allocations: 15.98 kB / 0.5262 GB, free: 12.26 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,and1.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.0001436/0.009273, allocations: 166.7 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.009304, allocations: 21.69 kB / 0.5264 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.009356, allocations: 8.438 kB / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.009362, allocations: 3.984 kB / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.009367, allocations: 0 / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.009372, allocations: 0 / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.009518, allocations: 131.4 kB / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.009521, allocations: 0 / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.009535, allocations: 0 / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.009539, allocations: 0 / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.009555, allocations: 11.94 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.009558, allocations: 0 / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.009562, allocations: 7.922 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.00977, allocations: 116.6 kB / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.009788, allocations: 13.78 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.009808, allocations: 3.938 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.009839, allocations: 0 / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.009906, allocations: 11.98 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.009916, allocations: 4 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.238e-05/0.009989, allocations: 136.5 kB / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009989, allocations: 0 / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002542/0.01024, allocations: 28.72 kB / 0.5268 GB, free: 11.55 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,and1.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.0003842/0.01063, allocations: 99.91 kB / 0.5269 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.01095, allocations: 285.3 kB / 0.5272 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01095, allocations: 0 / 0.5272 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.01099, allocations: 27.61 kB / 0.5272 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.01119, allocations: 24.33 kB / 0.5272 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.01151, allocations: 162.7 kB / 0.5274 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.01155, allocations: 66.47 kB / 0.5274 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.01157, allocations: 4 kB / 0.5274 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.0116, allocations: 12.5 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.0116, allocations: 0 / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.003617/0.01521, allocations: 2.031 MB / 0.5294 GB, free: 8.871 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.870157552883029]