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.0008329/0.0008329, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006799/0.007632, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009101/0.0009101, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002782/0.003692, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.979/0.979, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1175/1.097, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8149/0.8149, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2707/1.086, allocations: 49.13 MB / 448.4 MB, free: 6.02 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 2.285e-06/2.285e-06, allocations: 0 / 449.6 MB, free: 4.781 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.744e-05, allocations: 5.922 kB / 449.6 MB, free: 4.777 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002105/0.002132, allocations: 0.6321 MB / 450.3 MB, free: 4.176 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003372, allocations: 1.161 MB / 451.4 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.003402, allocations: 1.969 kB / 451.4 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.003428, allocations: 3.938 kB / 451.4 MB, free: 3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.003469, allocations: 6.391 kB / 451.4 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.003747, allocations: 121.5 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.003882, allocations: 82.97 kB / 451.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.605e-05/0.003948, allocations: 12.75 kB / 451.7 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.004028, allocations: 53.23 kB / 451.7 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.0041, allocations: 21.22 kB / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.00412, allocations: 9.172 kB / 451.7 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-05/0.004188, allocations: 19.98 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.004206, allocations: 7.438 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.00424, allocations: 16.98 kB / 451.8 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.004363, allocations: 58.19 kB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.004376, allocations: 0 / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004377, allocations: 0 / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.004389, allocations: 1 kB / 451.8 MB, free: 2.625 MB / 426.7 MB 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.0003469/0.004736, allocations: 284.4 kB / 452.1 MB, free: 2.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.004766, allocations: 8.688 kB / 452.1 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.004794, allocations: 9.797 kB / 452.1 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.253e-05/0.004867, allocations: 113.7 kB / 452.2 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.004878, allocations: 5.578 kB / 452.3 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.004892, allocations: 8.875 kB / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.442e-05/0.004956, allocations: 61.23 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004963, allocations: 1.062 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-06/0.004969, allocations: 4.312 kB / 452.3 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.004973, allocations: 2.859 kB / 452.3 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.297e-05/0.004986, allocations: 8.625 kB / 452.3 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.005168, allocations: 158.2 kB / 452.5 MB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.004e-05/0.005198, allocations: 18.61 kB / 452.5 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-06/0.005206, allocations: 4.859 kB / 452.5 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-06/0.005209, allocations: 4.062 kB / 452.5 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.358e-05/0.005293, allocations: 82.36 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.005294, allocations: 0 / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 9.59e-05/0.00539, allocations: 54.23 kB / 452.7 MB, free: 1.707 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.005424, allocations: 51.41 kB / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.005488, allocations: 116.3 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.005506, allocations: 29.7 kB / 452.8 MB, free: 1.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.005542, allocations: 92.03 kB / 452.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.005549, allocations: 4.969 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.005587, allocations: 27.14 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.005667, allocations: 318.8 kB / 453.3 MB, free: 1.035 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.005708, allocations: 45.69 kB / 453.3 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.005754, allocations: 72.25 kB / 453.4 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.005817, allocations: 73.69 kB / 453.5 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.005821, allocations: 4.312 kB / 453.5 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001106/0.005932, allocations: 141.8 kB / 453.6 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.005971, allocations: 38.33 kB / 453.6 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.005978, allocations: 8.641 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.005987, allocations: 6.797 kB / 453.7 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-05/0.006002, allocations: 4 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.006005, allocations: 0 / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.006105, allocations: 22.03 kB / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.006118, allocations: 4 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB 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 6.21e-05/0.00618, allocations: 122.8 kB / 453.8 MB, free: 452 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.006187, allocations: 4 kB / 453.8 MB, free: 448 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.006208, allocations: 4 kB / 453.8 MB, free: 440 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.00621, allocations: 4.844 kB / 453.8 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006212, allocations: 0 / 453.8 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.006216, allocations: 4.906 kB / 453.8 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.8e-05/0.006274, allocations: 65.89 kB / 453.9 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006275, allocations: 0 / 453.9 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-06/0.006279, allocations: 1.188 kB / 453.9 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-06/0.006285, allocations: 9.031 kB / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.006286, allocations: 0 / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.006289, allocations: 0.625 kB / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.00629, allocations: 0.5938 kB / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.006292, allocations: 3.938 kB / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.937e-05/0.006352, allocations: 71.55 kB / 454 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.00636, allocations: 4 kB / 454 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.00637, allocations: 0.5312 kB / 454 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.006392, allocations: 0.5625 kB / 454 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.006398, allocations: 7.922 kB / 454 MB, free: 236 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.219e-05/0.00641, allocations: 14.56 kB / 454 MB, free: 220 kB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00641, allocations: 4.812 kB / 454 MB, free: 216 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001102/0.00652, allocations: 15.94 kB / 454 MB, free: 200 kB / 426.7 MB 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.815e-05/0.006618, allocations: 87.59 kB / 454.1 MB, free: 108 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.006752, allocations: 134.6 kB / 454.2 MB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.006756, allocations: 0 / 454.2 MB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.006771, allocations: 13.77 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.401e-05/0.006865, allocations: 13.17 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.007249, allocations: 128.5 kB / 454.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.807e-05/0.007277, allocations: 55.84 kB / 454.4 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.622e-05/0.007293, allocations: 7.984 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.007365, allocations: 64.67 kB / 454.5 MB, free: 15.63 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007365, allocations: 0 / 454.5 MB, free: 15.63 MB / 442.7 MB Notification: Performance of Templates: time 0.002797/0.01016, allocations: 1.337 MB / 455.9 MB, free: 14.38 MB / 442.7 MB " [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.597500837408006]