Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.0006332/0.0006332, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008952/0.001528, 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.0006886/0.0006886, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009192/0.001608, 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.9728/0.9728, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09497/1.068, allocations: 53.66 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.7917/0.7917, allocations: 154.6 MB / 398.8 MB, free: 380 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.2835/1.075, allocations: 49.04 MB / 447.8 MB, free: 6.602 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 449.2 MB, free: 5.289 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.274e-05, allocations: 3.531 kB / 449.2 MB, free: 5.285 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001629/0.001651, allocations: 0.7814 MB / 449.9 MB, free: 4.547 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.002791, allocations: 1.202 MB / 451.1 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.002833, allocations: 0 / 451.1 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.00286, allocations: 7.922 kB / 451.2 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.002907, allocations: 16.19 kB / 451.2 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.003244, allocations: 124.3 kB / 451.3 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.003424, allocations: 120.6 kB / 451.4 MB, free: 3.086 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.081e-05/0.003495, allocations: 8.984 kB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.003609, allocations: 74.72 kB / 451.5 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.003689, allocations: 38.77 kB / 451.5 MB, free: 2.973 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.003711, allocations: 8 kB / 451.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.003788, allocations: 26.62 kB / 451.6 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.003812, allocations: 10.34 kB / 451.6 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.00385, allocations: 25.64 kB / 451.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003991, allocations: 79.58 kB / 451.7 MB, free: 2.836 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.004003, allocations: 0 / 451.7 MB, free: 2.836 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004004, allocations: 0.875 kB / 451.7 MB, free: 2.836 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.004017, allocations: 0.5469 kB / 451.7 MB, free: 2.836 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004796/0.004497, allocations: 317.5 kB / 452 MB, free: 2.496 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.004563, allocations: 8.031 kB / 452 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.004602, allocations: 12.92 kB / 452 MB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/0.004688, allocations: 118.3 kB / 452.1 MB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.004702, allocations: 4.375 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.004723, allocations: 13.44 kB / 452.1 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.004835, allocations: 58.94 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.004844, allocations: 192 / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.004853, allocations: 5.266 kB / 452.2 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004859, allocations: 384 / 452.2 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.796e-05/0.004887, allocations: 22.31 kB / 452.2 MB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.005194, allocations: 181.9 kB / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.754e-05/0.005292, allocations: 34.55 kB / 452.4 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.00531, allocations: 8.859 kB / 452.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.005318, allocations: 4.688 kB / 452.4 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.005433, allocations: 76.52 kB / 452.5 MB, free: 1.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.844e-06/0.005435, allocations: 0 / 452.5 MB, free: 1.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001472/0.005582, allocations: 69.59 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.005615, allocations: 56.03 kB / 452.6 MB, free: 1.754 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/0.00568, allocations: 125.3 kB / 452.8 MB, free: 1.621 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.005702, allocations: 33.02 kB / 452.8 MB, free: 1.586 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.005743, allocations: 96.02 kB / 452.9 MB, free: 1.488 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.005762, allocations: 19.89 kB / 452.9 MB, free: 1.469 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.00581, allocations: 33.69 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.005889, allocations: 318.8 kB / 453.3 MB, free: 1.109 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.005941, allocations: 57.69 kB / 453.3 MB, free: 1.047 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.005999, allocations: 87.28 kB / 453.4 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.006091, allocations: 106.7 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.006094, allocations: 5.219 kB / 453.5 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001478/0.006242, allocations: 169.7 kB / 453.7 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.006358, allocations: 37.7 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006363, allocations: 0.5 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.006379, allocations: 12.61 kB / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.006448, allocations: 8 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.006451, allocations: 0.625 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.006536, allocations: 28.48 kB / 453.8 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.006551, allocations: 8.625 kB / 453.8 MB, free: 0.5312 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.939e-05/0.00662, allocations: 130.3 kB / 453.9 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.006632, allocations: 8.922 kB / 453.9 MB, free: 396 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.006657, allocations: 14.45 kB / 453.9 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.00666, allocations: 5.656 kB / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006662, allocations: 0 / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.006665, allocations: 0 / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.006845, allocations: 206.8 kB / 454.1 MB, free: 144 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.006848, allocations: 4.062 kB / 454.1 MB, free: 140 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.006879, allocations: 8.844 kB / 454.1 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.006889, allocations: 15.88 kB / 454.2 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006891, allocations: 1 kB / 454.2 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.006898, allocations: 4 kB / 454.2 MB, free: 112 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006899, allocations: 4 kB / 454.2 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.0069, allocations: 1.312 kB / 454.2 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.007005, allocations: 152 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.007019, allocations: 3.938 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.007063, allocations: 8.594 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.00714, allocations: 3.984 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.007152, allocations: 5.219 kB / 454.3 MB, free: 15.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.007206, allocations: 24.83 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.007206, allocations: 0 / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.007399, allocations: 29 kB / 454.4 MB, free: 15.87 MB / 442.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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001717/0.007571, allocations: 85.5 kB / 454.5 MB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.00777, allocations: 150.7 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.007777, allocations: 0 / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.007825, allocations: 42.27 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.008102, allocations: 102.3 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.008719, allocations: 158.7 kB / 454.9 MB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.008918, allocations: 59.34 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.151e-05/0.00896, allocations: 5.812 kB / 455 MB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.009066, allocations: 79.33 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of SimCode: time 9.21e-07/0.009067, allocations: 0 / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of Templates: time 0.004259/0.01333, allocations: 1.661 MB / 456.7 MB, free: 13.57 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5550218475982547]