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.0009192/0.0009192, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009712/0.0009712, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9729/0.9729, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8069/0.8069, allocations: 154.8 MB / 414.7 MB, free: 500 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.613e-06/1.613e-06, allocations: 0 / 0.5205 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.634e-05, allocations: 2.312 kB / 0.5205 GB, free: 1.973 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001156/0.001172, allocations: 0.5771 MB / 0.5211 GB, free: 1.418 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.002309, allocations: 1.164 MB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.002346, allocations: 0.9375 kB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.002372, allocations: 0 / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.002437, allocations: 13.03 kB / 0.5222 GB, free: 236 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.00282, allocations: 125 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.002939, allocations: 87.81 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.003021, allocations: 7.984 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.003109, allocations: 47.97 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.003194, allocations: 24.77 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.003214, allocations: 4 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.754e-05/0.003272, allocations: 29.2 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.003288, allocations: 0 / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.00333, allocations: 23.98 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003464, allocations: 77.17 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.003466, allocations: 0 / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003467, allocations: 0 / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003471, allocations: 3.938 kB / 0.5227 GB, free: 15.81 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.0003651/0.003836, allocations: 407 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.003871, allocations: 8.031 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.003918, allocations: 6.688 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.486e-05/0.003993, allocations: 108.6 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.004005, allocations: 4.359 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.004022, allocations: 12.36 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.004108, allocations: 62.12 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004117, allocations: 192 / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.004126, allocations: 384 / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.004134, allocations: 4.359 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.00415, allocations: 7.938 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.004423, allocations: 279.7 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.968e-05/0.004462, allocations: 28.53 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.186e-05/0.004474, allocations: 7.688 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-06/0.004478, allocations: 0 / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.378e-05/0.004562, allocations: 95.77 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.004562, allocations: 0 / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001503/0.004713, allocations: 69.55 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.004739, allocations: 52.38 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.00481, allocations: 165.9 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.004824, allocations: 26.64 kB / 0.5239 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.004869, allocations: 138.8 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.004876, allocations: 0 / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.004917, allocations: 36.3 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.005021, allocations: 496.1 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.005077, allocations: 58.17 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.005138, allocations: 81 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/0.00521, allocations: 86.66 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.005213, allocations: 8 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001737/0.005386, allocations: 173.5 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.005418, allocations: 43.42 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005423, allocations: 0 / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.005436, allocations: 0 / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.582e-05/0.005452, allocations: 3.938 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.005458, allocations: 11.92 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.005574, allocations: 17.7 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.005588, allocations: 4 kB / 0.5251 GB, free: 13.09 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.803e-05/0.005666, allocations: 164.5 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.005675, allocations: 8.672 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.005699, allocations: 7.938 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005701, allocations: 1.281 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.005705, allocations: 4 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005708, allocations: 0 / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.364e-05/0.005782, allocations: 119.3 kB / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005783, allocations: 240 / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-06/0.005786, allocations: 0 / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005787, allocations: 0 / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.005795, allocations: 4 kB / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.005797, allocations: 3.938 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.005799, allocations: 3.984 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.479e-05/0.005884, allocations: 96.31 kB / 0.5254 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.005891, allocations: 6.75 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.005899, allocations: 0 / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-06/0.005908, allocations: 7.938 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.005935, allocations: 0 / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.005939, allocations: 0 / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002149/0.006154, allocations: 127.2 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006154, allocations: 0 / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001422/0.006296, allocations: 20.97 kB / 0.5256 GB, free: 12.46 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 9.266e-05/0.006389, allocations: 96.69 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.006536, allocations: 148.7 kB / 0.5258 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.006537, allocations: 0 / 0.5258 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.006556, allocations: 17.28 kB / 0.5259 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.0067, allocations: 14.8 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.006919, allocations: 126.9 kB / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.006949, allocations: 55.34 kB / 0.526 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.006965, allocations: 4.656 kB / 0.526 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.006982, allocations: 13.12 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.006983, allocations: 0 / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.002635/0.009618, allocations: 1.185 MB / 0.5272 GB, free: 10.8 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.874391338787973]