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.0007151/0.0007151, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000886/0.001601, 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.0007062/0.0007062, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009209/0.001627, 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.9467/0.9467, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09604/1.043, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7868/0.7868, allocations: 154.6 MB / 398.5 MB, free: 0.5312 MB / 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.2628/1.05, allocations: 49.04 MB / 447.6 MB, free: 6.715 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 1.773e-06/1.773e-06, allocations: 3.938 kB / 448.8 MB, free: 5.473 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.292e-05, allocations: 4.375 kB / 448.8 MB, free: 5.469 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001087/0.0011, allocations: 0.627 MB / 449.5 MB, free: 4.879 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002127, allocations: 1.163 MB / 450.6 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.002159, allocations: 0 / 450.6 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.002181, allocations: 3.938 kB / 450.6 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.002218, allocations: 10.72 kB / 450.6 MB, free: 3.699 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.002496, allocations: 117.1 kB / 450.8 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.002632, allocations: 86.97 kB / 450.8 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.56e-05/0.002698, allocations: 1.516 kB / 450.8 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.002795, allocations: 66 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.002874, allocations: 21.59 kB / 450.9 MB, free: 3.426 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.002893, allocations: 8 kB / 450.9 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.002962, allocations: 22.22 kB / 451 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.002979, allocations: 5.859 kB / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.003013, allocations: 16.77 kB / 451 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003126, allocations: 53.75 kB / 451 MB, free: 3.328 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.00314, allocations: 2.062 kB / 451 MB, free: 3.328 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00314, allocations: 0 / 451 MB, free: 3.328 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.003156, allocations: 0 / 451 MB, free: 3.328 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.0003636/0.00352, allocations: 288.4 kB / 451.3 MB, free: 3.016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.003547, allocations: 8.578 kB / 451.3 MB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.003578, allocations: 8.922 kB / 451.3 MB, free: 3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.846e-05/0.003657, allocations: 114.6 kB / 451.5 MB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.003667, allocations: 384 / 451.5 MB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.00368, allocations: 9.531 kB / 451.5 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.852e-05/0.003748, allocations: 62.09 kB / 451.5 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003755, allocations: 192 / 451.5 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.003763, allocations: 5.094 kB / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.003767, allocations: 384 / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.333e-05/0.00378, allocations: 12.53 kB / 451.5 MB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.003967, allocations: 153.6 kB / 451.7 MB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.305e-05/0.004, allocations: 18.58 kB / 451.7 MB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-06/0.004008, allocations: 4.859 kB / 451.7 MB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-06/0.004013, allocations: 5.469 kB / 451.7 MB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.359e-05/0.004107, allocations: 85.88 kB / 451.8 MB, free: 2.465 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.004108, allocations: 1.969 kB / 451.8 MB, free: 2.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 9.826e-05/0.004206, allocations: 49.62 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.004238, allocations: 55.39 kB / 451.9 MB, free: 2.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.47e-05/0.004293, allocations: 106.7 kB / 452 MB, free: 2.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.004309, allocations: 30.69 kB / 452 MB, free: 2.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.004344, allocations: 92.77 kB / 452.1 MB, free: 2.098 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-06/0.004351, allocations: 7.984 kB / 452.1 MB, free: 2.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.00439, allocations: 22.33 kB / 452.2 MB, free: 2.062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.22e-05/0.004462, allocations: 318.8 kB / 452.5 MB, free: 1.742 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.004503, allocations: 51.16 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.517e-05/0.004549, allocations: 76.19 kB / 452.6 MB, free: 1.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.004603, allocations: 70.78 kB / 452.7 MB, free: 1.516 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004605, allocations: 0 / 452.7 MB, free: 1.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001148/0.00472, allocations: 150.8 kB / 452.8 MB, free: 1.352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.004755, allocations: 33.7 kB / 452.8 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.00476, allocations: 0.5312 kB / 452.8 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.004769, allocations: 9.562 kB / 452.9 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.815e-05/0.004787, allocations: 7.984 kB / 452.9 MB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.004791, allocations: 0 / 452.9 MB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.004907, allocations: 24.48 kB / 452.9 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.004919, allocations: 5.219 kB / 452.9 MB, free: 1.27 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.468e-05/0.004984, allocations: 121.8 kB / 453 MB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-06/0.004991, allocations: 4.656 kB / 453 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.005013, allocations: 8 kB / 453 MB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.005015, allocations: 5.953 kB / 453 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.005018, allocations: 0.5156 kB / 453 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.005021, allocations: 0 / 453 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.594e-05/0.005077, allocations: 71.42 kB / 453.1 MB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005078, allocations: 0 / 453.1 MB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-06/0.005081, allocations: 0 / 453.1 MB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.005087, allocations: 4 kB / 453.1 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.005088, allocations: 1.625 kB / 453.1 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.005092, allocations: 0.9062 kB / 453.1 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.005093, allocations: 0 / 453.1 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.005095, allocations: 4.812 kB / 453.1 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.865e-05/0.005153, allocations: 69.05 kB / 453.2 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.005162, allocations: 5.562 kB / 453.2 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-06/0.005171, allocations: 0 / 453.2 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.00519, allocations: 0 / 453.2 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.005195, allocations: 8.562 kB / 453.2 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.355e-05/0.005208, allocations: 20.89 kB / 453.2 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005208, allocations: 0.625 kB / 453.2 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001107/0.005319, allocations: 21.55 kB / 453.2 MB, free: 0.8906 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 8.568e-05/0.005405, allocations: 77.05 kB / 453.3 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.00553, allocations: 138.5 kB / 453.4 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.005536, allocations: 4.625 kB / 453.4 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.005552, allocations: 11.72 kB / 453.5 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.523e-05/0.005647, allocations: 16.61 kB / 453.5 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.006014, allocations: 119.6 kB / 453.6 MB, free: 496 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.601e-05/0.00604, allocations: 55.36 kB / 453.6 MB, free: 420 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.154e-05/0.006062, allocations: 7.984 kB / 453.7 MB, free: 412 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.006123, allocations: 67.3 kB / 453.7 MB, free: 344 kB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.006124, allocations: 0.75 kB / 453.7 MB, free: 344 kB / 426.7 MB Notification: Performance of Templates: time 0.002681/0.008805, allocations: 1.328 MB / 455 MB, free: 15.09 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.4551862236112356]