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.00114/0.00114, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.00124/0.00124, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.059/1.059, allocations: 177.2 MB / 204.5 MB, free: 5.492 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.8702/0.8702, allocations: 154.9 MB / 415.9 MB, free: 256 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 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.284e-06/2.284e-06, allocations: 0.5469 kB / 0.5219 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.762e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001248/0.001265, allocations: 0.6404 MB / 0.5225 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002466, allocations: 1.238 MB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.002509, allocations: 0 / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.002536, allocations: 5.406 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.002607, allocations: 11.92 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.003062, allocations: 208.8 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.003287, allocations: 176.7 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.003365, allocations: 8 kB / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.003473, allocations: 95.86 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.003573, allocations: 50.81 kB / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.003599, allocations: 16 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.85e-05/0.003658, allocations: 23.98 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.003677, allocations: 11.94 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.003723, allocations: 47.94 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.003877, allocations: 147.6 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003879, allocations: 0 / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00388, allocations: 0 / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003884, allocations: 0.5625 kB / 0.5245 GB, free: 14.84 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.0004125/0.004296, allocations: 460.4 kB / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.004333, allocations: 12.88 kB / 0.525 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.004376, allocations: 12.89 kB / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.004457, allocations: 112.6 kB / 0.5251 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.004473, allocations: 8.875 kB / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.004491, allocations: 9.875 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.116e-05/0.004562, allocations: 42.23 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.00457, allocations: 192 / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.004579, allocations: 4.375 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.004586, allocations: 5.297 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.004604, allocations: 15.92 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.004904, allocations: 309.6 kB / 0.5255 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.857e-05/0.004963, allocations: 39.05 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.004975, allocations: 11.62 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.004981, allocations: 5.156 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.114e-05/0.005072, allocations: 77.09 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.005073, allocations: 4 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001608/0.005234, allocations: 94.19 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.005263, allocations: 55.41 kB / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/0.005349, allocations: 183.1 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.00537, allocations: 33.7 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.005419, allocations: 138.8 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.005432, allocations: 17.25 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.005493, allocations: 51.33 kB / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.005634, allocations: 0.4923 MB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.736e-05/0.005711, allocations: 103.4 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.279e-05/0.005804, allocations: 158.4 kB / 0.5269 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.005907, allocations: 148.8 kB / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005908, allocations: 0 / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003198/0.006228, allocations: 304.2 kB / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.006268, allocations: 74.08 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.006273, allocations: 0 / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.006281, allocations: 4 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.406e-05/0.006295, allocations: 4 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.006299, allocations: 3.938 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.006451, allocations: 40.42 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.00647, allocations: 16 kB / 0.5274 GB, free: 11.53 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 6.964e-05/0.00654, allocations: 168.1 kB / 0.5276 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.006551, allocations: 15.95 kB / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.006571, allocations: 8.938 kB / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006573, allocations: 0 / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006574, allocations: 0.5 kB / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006578, allocations: 5.031 kB / 0.5276 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.999e-05/0.006648, allocations: 109.2 kB / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006649, allocations: 0 / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-06/0.006652, allocations: 1.219 kB / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.006653, allocations: 0 / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.006659, allocations: 7.984 kB / 0.5277 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.00666, allocations: 0.5 kB / 0.5277 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006661, allocations: 7.875 kB / 0.5277 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.961e-05/0.006751, allocations: 118.1 kB / 0.5279 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.006758, allocations: 3.953 kB / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-06/0.006766, allocations: 0 / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.006778, allocations: 8 kB / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.006801, allocations: 7.922 kB / 0.5279 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.006804, allocations: 6.438 kB / 0.5279 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.006841, allocations: 131.2 kB / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006841, allocations: 0 / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001555/0.006996, allocations: 32 kB / 0.528 GB, free: 10.86 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 8.854e-05/0.007085, allocations: 97.69 kB / 0.5281 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.007284, allocations: 266.2 kB / 0.5284 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007285, allocations: 3.938 kB / 0.5284 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.007314, allocations: 35.64 kB / 0.5284 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.007469, allocations: 17.2 kB / 0.5284 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.007687, allocations: 163.6 kB / 0.5286 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.917e-05/0.007716, allocations: 59.34 kB / 0.5287 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.007736, allocations: 5.562 kB / 0.5287 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.007988, allocations: 102.2 kB / 0.5288 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.007989, allocations: 4 kB / 0.5288 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.003224/0.01121, allocations: 2.256 MB / 0.531 GB, free: 7.895 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.9189247409813106]