Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007789/0.0007789, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001818, allocations: 440 kB / 10.41 MB, free: 284 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.001059/0.001059, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002539, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9864/0.9864, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08876/1.075, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8087/0.8087, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2797/1.088, allocations: 49.04 MB / 447.8 MB, free: 6.609 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/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_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_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 449.1 MB, free: 5.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.557e-05, allocations: 6.312 kB / 449.1 MB, free: 5.332 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001821/0.001846, allocations: 0.6395 MB / 449.8 MB, free: 4.734 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002949, allocations: 1.161 MB / 450.9 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.002987, allocations: 4.656 kB / 450.9 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.003012, allocations: 4.594 kB / 450.9 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.003056, allocations: 10.59 kB / 450.9 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.00336, allocations: 121 kB / 451 MB, free: 3.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.003523, allocations: 87.5 kB / 451.1 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.003605, allocations: 0.6562 kB / 451.1 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.003713, allocations: 59.34 kB / 451.2 MB, free: 3.297 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.003811, allocations: 21.17 kB / 451.2 MB, free: 3.277 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.003833, allocations: 8 kB / 451.2 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.003908, allocations: 21.08 kB / 451.2 MB, free: 3.25 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.003928, allocations: 4.766 kB / 451.2 MB, free: 3.246 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.003962, allocations: 18.19 kB / 451.3 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004101, allocations: 61.41 kB / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.004113, allocations: 0 / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004114, allocations: 1.938 kB / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.004128, allocations: 0 / 451.3 MB, free: 3.172 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.0004102/0.004538, allocations: 280.4 kB / 451.6 MB, free: 2.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.004569, allocations: 12.72 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.004605, allocations: 4.938 kB / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.756e-05/0.004693, allocations: 123.8 kB / 451.7 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004703, allocations: 384 / 451.7 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.00472, allocations: 4.375 kB / 451.7 MB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.951e-05/0.00479, allocations: 60.86 kB / 451.8 MB, free: 2.633 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004797, allocations: 192 / 451.8 MB, free: 2.633 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.004803, allocations: 5 kB / 451.8 MB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004808, allocations: 2.031 kB / 451.8 MB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-06/0.004818, allocations: 7.875 kB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.005026, allocations: 152.3 kB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.907e-05/0.005065, allocations: 22.56 kB / 452 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-06/0.005074, allocations: 7.453 kB / 452 MB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-06/0.005078, allocations: 0.8906 kB / 452 MB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.005182, allocations: 85.09 kB / 452.1 MB, free: 2.316 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.005183, allocations: 0 / 452.1 MB, free: 2.316 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001209/0.005304, allocations: 58.03 kB / 452.1 MB, free: 2.258 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.005336, allocations: 51.41 kB / 452.2 MB, free: 2.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.005396, allocations: 110.7 kB / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.005558, allocations: 29.7 kB / 452.3 MB, free: 2.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.005591, allocations: 88.77 kB / 452.4 MB, free: 1.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.005601, allocations: 9.078 kB / 452.4 MB, free: 1.941 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.005639, allocations: 26.36 kB / 452.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.998e-05/0.005709, allocations: 314.8 kB / 452.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.005751, allocations: 54.31 kB / 452.8 MB, free: 1.535 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.005797, allocations: 68.2 kB / 452.9 MB, free: 1.453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.532e-05/0.005852, allocations: 79.55 kB / 452.9 MB, free: 1.363 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.005855, allocations: 0 / 452.9 MB, free: 1.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001115/0.005967, allocations: 149.9 kB / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.006001, allocations: 33.7 kB / 453.1 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.006008, allocations: 0 / 453.1 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.006022, allocations: 3.938 kB / 453.1 MB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.607e-05/0.006038, allocations: 4.844 kB / 453.1 MB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.006043, allocations: 4 kB / 453.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.006167, allocations: 25.45 kB / 453.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.006182, allocations: 4 kB / 453.2 MB, free: 1.121 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 7.766e-05/0.00626, allocations: 119.1 kB / 453.3 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.00627, allocations: 7.984 kB / 453.3 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.006294, allocations: 4.5 kB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.006299, allocations: 8.625 kB / 453.3 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.0063, allocations: 0 / 453.3 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006303, allocations: 1.391 kB / 453.3 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.683e-05/0.00637, allocations: 65.91 kB / 453.4 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.006372, allocations: 0.5625 kB / 453.4 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-06/0.006378, allocations: 4.609 kB / 453.4 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.006384, allocations: 0 / 453.4 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006386, allocations: 0.625 kB / 453.4 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.00639, allocations: 8 kB / 453.4 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.006391, allocations: 2.031 kB / 453.4 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.006393, allocations: 3.938 kB / 453.4 MB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.705e-05/0.00646, allocations: 70.77 kB / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-06/0.006468, allocations: 3.984 kB / 453.5 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.208e-05/0.00648, allocations: 5.5 kB / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.006498, allocations: 0 / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.006502, allocations: 3.938 kB / 453.5 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.203e-05/0.006514, allocations: 9.766 kB / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006514, allocations: 0 / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001189/0.006633, allocations: 28.92 kB / 453.5 MB, free: 0.7383 MB / 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 0.0001046/0.006737, allocations: 78.28 kB / 453.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.006878, allocations: 135.5 kB / 453.7 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.006882, allocations: 0 / 453.7 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.006899, allocations: 14.38 kB / 453.7 MB, free: 500 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.007018, allocations: 72.61 kB / 453.8 MB, free: 416 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.007408, allocations: 112.9 kB / 453.9 MB, free: 280 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.00744, allocations: 52.42 kB / 454 MB, free: 208 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.378e-05/0.007463, allocations: 7.984 kB / 454 MB, free: 200 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.007543, allocations: 69.28 kB / 454 MB, free: 132 kB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.007544, allocations: 0 / 454 MB, free: 132 kB / 426.7 MB Notification: Performance of Templates: time 0.002929/0.01047, allocations: 1.3 MB / 455.3 MB, free: 14.91 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5988934095948935]