Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.001034/0.001034, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.0009651/0.0009651, allocations: 169 kB / 24.05 MB, free: 452 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 0.9333/0.9333, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.7856/0.7856, 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0.875 kB / 0.5219 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/2e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001239/0.001259, allocations: 0.5812 MB / 0.5224 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.002672, allocations: 1.164 MB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.002711, allocations: 1.188 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.002733, allocations: 3.938 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.002789, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.003172, allocations: 124.8 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.003305, allocations: 90.14 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.121e-05/0.003386, allocations: 7.984 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.003473, allocations: 43.97 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.003563, allocations: 27.89 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.003583, allocations: 8 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.003648, allocations: 23.97 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.003669, allocations: 5.688 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.003702, allocations: 27.92 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.003837, allocations: 75.77 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.00384, allocations: 0 / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.684e-06/0.003842, allocations: 4 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.003847, allocations: 0.5625 kB / 0.524 GB, free: 15.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000349/0.004196, allocations: 399.2 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.004227, allocations: 12.03 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.004261, allocations: 8.922 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.259e-05/0.004334, allocations: 109.8 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.004346, allocations: 4.375 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.004359, allocations: 4.375 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.004441, allocations: 68.64 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.004448, allocations: 1.219 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.004454, allocations: 384 / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.00446, allocations: 384 / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.736e-06/0.004469, allocations: 5.469 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.004699, allocations: 260.4 kB / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.728e-05/0.004737, allocations: 30.98 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.004748, allocations: 12.84 kB / 0.5249 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-06/0.004751, allocations: 0 / 0.5249 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.805e-05/0.004839, allocations: 94.73 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.00484, allocations: 0.6875 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.00497, allocations: 53.62 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.005, allocations: 60.62 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.00507, allocations: 165.9 kB / 0.5252 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.005085, allocations: 25.7 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.005134, allocations: 136 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/0.00514, allocations: 0 / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.005186, allocations: 39.34 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.005298, allocations: 0.4892 MB / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.005348, allocations: 49.69 kB / 0.5259 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.005406, allocations: 85.5 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.368e-05/0.00547, allocations: 87.28 kB / 0.5261 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005471, allocations: 0 / 0.5261 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001516/0.005623, allocations: 161 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.005648, allocations: 37.69 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005652, allocations: 320 / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.005661, allocations: 7.938 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-05/0.005675, allocations: 4.656 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.005678, allocations: 4 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/0.005774, allocations: 17.48 kB / 0.5263 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.005788, allocations: 11.98 kB / 0.5263 GB, free: 12.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.289e-05/0.005861, allocations: 161 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-06/0.005868, allocations: 1 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.005889, allocations: 12 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.005893, allocations: 4.172 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.005895, allocations: 4.812 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.005899, allocations: 3.984 kB / 0.5265 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.416e-05/0.005963, allocations: 101.9 kB / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.005965, allocations: 0 / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-06/0.005969, allocations: 7.094 kB / 0.5266 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.00597, allocations: 0 / 0.5266 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.005973, allocations: 0 / 0.5266 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.005974, allocations: 0 / 0.5266 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005975, allocations: 0 / 0.5266 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.741e-05/0.006052, allocations: 96.31 kB / 0.5267 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-06/0.006057, allocations: 0 / 0.5267 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-06/0.006063, allocations: 0 / 0.5267 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-06/0.006073, allocations: 6.438 kB / 0.5267 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.00609, allocations: 3.938 kB / 0.5267 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.006095, allocations: 4 kB / 0.5267 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.001e-05/0.006125, allocations: 127.2 kB / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006125, allocations: 3.938 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001407/0.006265, allocations: 16 kB / 0.5269 GB, free: 12.11 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.927e-05/0.006355, allocations: 100.5 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.006486, allocations: 132.8 kB / 0.5271 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.006487, allocations: 4.812 kB / 0.5271 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.006509, allocations: 27.61 kB / 0.5271 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.006652, allocations: 5.156 kB / 0.5271 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.006882, allocations: 126.7 kB / 0.5272 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.739e-05/0.00692, allocations: 62.19 kB / 0.5273 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.953e-05/0.006939, allocations: 0 / 0.5273 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.007024, allocations: 86.19 kB / 0.5274 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.007025, allocations: 0 / 0.5274 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.002754/0.009779, allocations: 1.323 MB / 0.5287 GB, free: 10.25 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.775567489210516]